52 #ifndef CONTROL_COMMAND_SETUP_H 53 #define CONTROL_COMMAND_SETUP_H 74 using DefinitionClosure = std::function<void(CommandDef&)>;
106 operator Symbol const&()
const 110 operator string()
const 112 return string{cmdID_};
127 return left.cmdID_ == right.cmdID_;
132 return left.cmdID_ != right.cmdID_;
144 #define COMMAND_DEFINITION(_NAME_) \ 145 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 created by copy-construction (or move construction), but may be not reassigned thereafter.
Lumiera error handling (C++ interface).
CommandSetup(Symbol cmdID)
Start a command setup for defining a Steam-Layer command with the given cmdID.