Lluvia
NodeState.h
Go to the documentation of this file.
1 
8 #ifndef LLUVIA_CORE_NODE_NODE_STATE_H_
9 #define LLUVIA_CORE_NODE_NODE_STATE_H_
10 
13 
14 namespace ll {
15 
21 enum class NodeState : ll::enum_t {
22  Created = 0,
23  Init = 1
24 };
25 
26 namespace impl {
27 
33  constexpr const std::array<std::tuple<const char*, ll::NodeState>, 2> NodeStateStrings {{std::make_tuple("Created", ll::NodeState::Created),
34  std::make_tuple("Init", ll::NodeState::Init)}};
35 
36 } // namespace impl
37 
38 } // namespace ll
39 
40 #endif // LLUVIA_CORE_NODE_NODE_STATE_H_
Enums.
constexpr const std::array< std::tuple< const char *, ll::NodeState >, 2 > NodeStateStrings
Node state string values used for converting ll::NodeState to std::string and vice-versa.
Definition: NodeState.h:33
Definition: Buffer.h:28
NodeState
Class for node state.
Definition: NodeState.h:21
uint32_t enum_t
Definition: enums.h:23