InertiaSDK

Loading...
Searching...
No Matches
AbstractConfig.h
1#pragma once
2
3#include "data/config/ConfigChannel.h"
4
5 namespace inertia
6{
7
8 struct INERTIA_API AbstractConfig
9{
10 protected:
11 AbstractConfig();
12 AbstractConfig(uint8_t const* in);
13 AbstractConfig(std::wstring const& argString);
14 virtual ~AbstractConfig();
15 AbstractConfig(AbstractConfig const&) = default;
16 AbstractConfig& operator = (AbstractConfig const&) = default;
17
18 public:
19 virtual void GetBytes(std::vector<uint8_t>& out) const = 0;
20 virtual ConfigType GetConfigType() const = 0;
21 virtual const std::wstring ToString() const = 0;
22};
23
24}
inertia
Definition FlashCommands.h:6
inertia::ConfigType
ConfigType
Definition ConfigChannel.h:7