InertiaSDK

Loading...
Searching...
No Matches
SingleAxisCapability.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 SingleAxisCapability
10 : AxisConfig
11{
12 uint8_t instanceMask;
13 SpecificSensorSettingsPtr specificCapabilities;
14
15 SingleAxisCapability(uint8_t sensorID, uint8_t const headerRevision = 1, uint8_t const sensorRevision = 0);
16 SingleAxisCapability(uint8_t const* in, const unsigned _length);
17 SingleAxisCapability(std::wstring const& argString);
18
19#ifdef WITH_BOOST_PROGRAM_OPTIONS
20 static const po::options_description GetOptionDescription();
21#endif
22
23 void GetBytes(std::vector<uint8_t>& out) const override;
24 const std::wstring ToString() const override;
25 const std::wstring ToSimpleString(uint16_t const globalRate) const override;
26 unsigned GetInstanceMask() const override;
27};
28
29}
AxisConfig.h
inertia
Definition FlashCommands.h:6
inertia::SpecificSensorSettingsPtr
std::shared_ptr< SpecificSensorSettings > SpecificSensorSettingsPtr
Pointer to a SpecificSensorSettings.
Definition SensorSpecificSettings.h:87