InertiaSDK

Loading...
Searching...
No Matches
GenericConfig.h
1#pragma once
2
3#include "data/config/AbstractConfig.h"
4
5 namespace inertia
6{
7
8 struct INERTIA_API GenericConfig
9 : AbstractConfig
10{
11 public:
12 uint8_t configRevision;
13
14 static unsigned GetLength(uint8_t const* in);
15 static unsigned GetHeaderSize();
16
17 protected:
18 GenericConfig();
19 GenericConfig(uint8_t const* in);
20 GenericConfig(std::wstring const& argString);
21
22#ifdef WITH_BOOST_PROGRAM_OPTIONS
23 static const po::options_description GetOptionDescription();
24#endif
25
26 void GetBytes(std::vector<uint8_t>& out) const override;
27 const std::wstring ToString() const override;
28};
29
30}
inertia
Definition FlashCommands.h:6