8 #define ROKUBIMINI_STATE_ID_CALIBRATE (0) 9 #define ROKUBIMINI_STATE_ID_DEVICE_MISSING (1) 10 #define ROKUBIMINI_STATE_ID_ERROR (2) 11 #define ROKUBIMINI_STATE_ID_FATAL (3) 12 #define ROKUBIMINI_STATE_ID_OPERATIONAL (4) 13 #define ROKUBIMINI_STATE_ID_NA (5) 14 #define ROKUBIMINI_STATE_ID_STANDBY (6)
#define ROKUBIMINI_STATE_ID_NA
#define ROKUBIMINI_STATE_ID_STANDBY
StateEnum stateNameToEnum(const std::string &string)
Gets a state enumeration matching the state name.
#define ROKUBIMINI_STATE_NAME_FATAL
#define ROKUBIMINI_STATE_ID_ERROR
#define ROKUBIMINI_STATE_NAME_DEVICE_MISSING
#define ROKUBIMINI_STATE_NAME_NA
#define ROKUBIMINI_STATE_NAME_STANDBY
#define ROKUBIMINI_STATE_ID_FATAL
#define ROKUBIMINI_STATE_ID_DEVICE_MISSING
#define ROKUBIMINI_STATE_NAME_CALIBRATE
#define ROKUBIMINI_STATE_NAME_OPERATIONAL
#define ROKUBIMINI_STATE_NAME_ERROR
uint16_t stateEnumToId(const StateEnum stateEnum)
Gets an ID matching the state enumeration.
StateEnum stateIdToEnum(uint16_t stateId)
Gets a state enumeration matching the state ID.
std::ostream & operator<<(std::ostream &out, const StateEnum stateEnum)
Outputs the name of the state enumeration to an output stream.
#define ROKUBIMINI_STATE_ID_OPERATIONAL
#define ROKUBIMINI_STATE_ID_CALIBRATE
std::string stateEnumToName(const StateEnum stateEnum)
Gets a name matching the state enumeration.