IOControl/include/IO/Request.h File Reference
Include dependency graph for IOControl/include/IO/Request.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | IO::Request |
Request represents a single user request/response over a bus. More... | |
Namespaces | |
IO | |
Macros | |
#define | IOCOMMAND_MAP(XX) |
#define | XX(tag, comment) tag, |
Enumerations | |
enum | IO::Command { IO::Command::XX } |
Functions | |
String | toString (IO::Command cmd) |
bool | fromString (IO::Command &cmd, const char *str) |
Macro Definition Documentation
◆ IOCOMMAND_MAP
#define IOCOMMAND_MAP | ( | XX | ) |
Value:
XX(undefined, "Undefined or invalid") \
XX(query, "Query node states") \
XX(off, "Turn node off or set to minimum") \
XX(on, "Turn node on or set to maximum") \
XX(toggle, "Toggle node(s) between on and off") \
XX(latch, "Relay nodes") \
XX(momentary, "Relay nodes") \
XX(delay, "Relay nodes") \
XX(set, "Set value") \
XX(adjust, "Adjust value") \
XX(update, "Perform update cycle (e.g. DMX512)")
◆ XX
#define XX | ( | tag, | |
comment | |||
) | tag, |
Function Documentation
◆ fromString()
bool fromString | ( | IO::Command & | cmd, |
const char * | str | ||
) |
◆ toString()
String toString | ( | IO::Command | cmd | ) |