BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
OpMode.h
1 #pragma once
2 
3 #include "util/Enum.h"
4 
5 namespace BeeeOn {
6 
15 class OpModeEnum {
16 public:
17  enum Raw {
18  TRY_ONCE,
21  };
22 
23  static EnumHelper<Raw>::ValueMap &valueMap();
24 };
25 
26 typedef Enum<OpModeEnum> OpMode;
27 
28 }
Definition: OpMode.h:20
Raw
Definition: OpMode.h:17
Definition: OpMode.h:19
OpModeEnum defines a mode of operation in the context of failure. Usually an operation (e...
Definition: OpMode.h:15
std::map< Raw, std::string > ValueMap
Definition: Enum.h:20