BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
base
src
model
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,
19
TRY_HARDER
,
20
REPEAT_ON_FAIL
,
21
};
22
23
static
EnumHelper<Raw>::ValueMap
&valueMap();
24
};
25
26
typedef
Enum<OpModeEnum> OpMode;
27
28
}
BeeeOn::OpModeEnum::REPEAT_ON_FAIL
Definition:
OpMode.h:20
BeeeOn::OpModeEnum::Raw
Raw
Definition:
OpMode.h:17
BeeeOn::OpModeEnum::TRY_HARDER
Definition:
OpMode.h:19
BeeeOn::OpModeEnum
OpModeEnum defines a mode of operation in the context of failure. Usually an operation (e...
Definition:
OpMode.h:15
BeeeOn::EnumHelper::ValueMap
std::map< Raw, std::string > ValueMap
Definition:
Enum.h:20
Generated by
1.8.5