InertiaSDK

Loading...
Searching...
No Matches
OtherAxisConfig.h
1#pragma once
2
3#include "data/config/AxisConfig.h"
4#include "data/config/SensorSpecificSettings.h"
5
6 namespace inertia
7{
8
9 struct INERTIA_API OtherAxisConfig
10 : AxisConfig
11{
12 SpecificSensorSettingsPtr specificSettings;
13
14 OtherAxisConfig(uint8_t sensorID, uint8_t const headerRevision = 1, uint8_t const sensorRevision = 0);
15 OtherAxisConfig(uint8_t const* in, const unsigned _length);
16 OtherAxisConfig(std::wstring const& argString);
17
18#ifdef WITH_BOOST_PROGRAM_OPTIONS
19 static const po::options_description GetOptionDescription();
20#endif
21
22 void GetBytes(std::vector<uint8_t>& out) const override;
23 const std::wstring ToString() const override;
24 const std::wstring ToSimpleString(uint16_t const globalRate) const override;
25 unsigned GetInstanceMask() const override;
26};
27
28}
AxisConfig.h
inertia
Definition FlashCommands.h:6
inertia::SpecificSensorSettingsPtr
std::shared_ptr< SpecificSensorSettings > SpecificSensorSettingsPtr
Pointer to a SpecificSensorSettings.
Definition SensorSpecificSettings.h:87