Namespaces | Macros | Functions
StateEnum.cpp File Reference
#include "rokubimini/fsm/StateEnum.hpp"
Include dependency graph for StateEnum.cpp:

Go to the source code of this file.

Namespaces

 rokubimini
 Tests Configuration.
 
 rokubimini::fsm
 

Macros

#define ROKUBIMINI_STATE_ID_CALIBRATE   (0)
 
#define ROKUBIMINI_STATE_ID_DEVICE_MISSING   (1)
 
#define ROKUBIMINI_STATE_ID_ERROR   (2)
 
#define ROKUBIMINI_STATE_ID_FATAL   (3)
 
#define ROKUBIMINI_STATE_ID_NA   (5)
 
#define ROKUBIMINI_STATE_ID_OPERATIONAL   (4)
 
#define ROKUBIMINI_STATE_ID_STANDBY   (6)
 

Functions

std::ostream & rokubimini::fsm::operator<< (std::ostream &out, const StateEnum stateEnum)
 Outputs the name of the state enumeration to an output stream. More...
 
uint16_t rokubimini::fsm::stateEnumToId (const StateEnum stateEnum)
 Gets an ID matching the state enumeration. More...
 
std::string rokubimini::fsm::stateEnumToName (const StateEnum stateEnum)
 Gets a name matching the state enumeration. More...
 
StateEnum rokubimini::fsm::stateIdToEnum (uint16_t stateId)
 Gets a state enumeration matching the state ID. More...
 
StateEnum rokubimini::fsm::stateNameToEnum (const std::string &string)
 Gets a state enumeration matching the state name. More...
 

Macro Definition Documentation

#define ROKUBIMINI_STATE_ID_CALIBRATE   (0)

Definition at line 8 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_DEVICE_MISSING   (1)

Definition at line 9 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_ERROR   (2)

Definition at line 10 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_FATAL   (3)

Definition at line 11 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_NA   (5)

Definition at line 13 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_OPERATIONAL   (4)

Definition at line 12 of file StateEnum.cpp.

#define ROKUBIMINI_STATE_ID_STANDBY   (6)

Definition at line 14 of file StateEnum.cpp.



rokubimini
Author(s):
autogenerated on Wed Mar 3 2021 03:09:12