The CommandParams class serves as a data struct to configure Command objects.
More...
#include <command.h>
The CommandParams class serves as a data struct to configure Command objects.
An instance of this struct is required to instantiate a Command object.
Definition at line 31 of file command.h.
std::string CommandParams::cmd |
Command itself, containing keywords and parameters flagged with '$'
Definition at line 38 of file command.h.
bool CommandParams::cmdHasParams |
bool CommandParams::cmdHasResponse |
std::string CommandParams::name |
std::vector<std::pair<std::string, std::string> > CommandParams::params |
List of dynamic parameters of this command/response (first: name, second: type)
Definition at line 36 of file command.h.
bool CommandParams::respHasParams |
Does the response have dynamic parameters?
Definition at line 41 of file command.h.
std::string CommandParams::response |
Response itself, containing keywords and parameters flagged with '$'
Definition at line 42 of file command.h.
The documentation for this struct was generated from the following file: