43 #ifndef CONTROL_COMMAND_SETUP_H 44 #define CONTROL_COMMAND_SETUP_H 65 using DefinitionClosure = std::function<void(CommandDef&)>;
97 operator Symbol const&()
const 101 operator string()
const 103 return string{cmdID_};
118 return left.cmdID_ == right.cmdID_;
123 return left.cmdID_ != right.cmdID_;
135 #define COMMAND_DEFINITION(_NAME_) \ 136 CommandSetup _NAME_ = CommandSetup{STRINGIFY(_NAME_)} = [&](CommandDef& def) Steam-Layer implementation namespace root.
CommandSetup & operator=(DefinitionClosure)
core functionality: provide a command definition block.
Marker and Helper for writing Steam-Layer Command definitions.
static size_t pendingCnt()
diagnostics / test
Token or Atom with distinct identity.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Marker types to indicate a literal string and a Symbol.
Steam-Layer command frontend.
static void invokeDefinitionClosures()
Types marked with this mix-in may be duplicated by copy-construction, yet may not be moved or transfe...
Lumiera error handling (C++ interface).
CommandSetup(Symbol cmdID)
Start a command setup for defining a Steam-Layer command with the given cmdID.