The logger command which contains the command type and its parameters. More...
Collaboration diagram for MAKLogger::DtCommand:Public Member Functions | |
| DtCommand (DtLgrDomainId domain, DtLgrProtocolId protocol, DtLgrCommandId command, const char *parametersBuffer=0) | |
| Pass in values for type and optional serialized parameters. | |
| DtCommand (DtLgrDomainId domain, DtLgrProtocolId protocol, const DtString &commandName) | |
| Pass in name of command. | |
| DtCommand (const DtLgrCommandType &type, DtLgrCommandId command) | |
| Simple command, no parameters. | |
| DtCommand (const DtCommand &type) | |
| Simple command, no parameters. | |
| ~DtCommand () | |
| Complex command, with base parameter class. | |
| DtLgrCommandType | type () const |
| Get the type. | |
| DtLgrCommandId | id () const |
| Get the command id. | |
| void | setId (DtLgrCommandId id) |
| Set the id. | |
| const DtString * | name () const |
| Get the name, this is null if not specified. | |
| void | setParameter (const DtString &name, DtAnyValue *) |
| Set a parameter. | |
| const DtAnyValue * | parameter (const DtString &name) const |
| Get a parameter. | |
| void | serializeParameters (DtString ¶meterBuffer) const |
| Serialize the parameters into the given string buffer. | |
| void | deserializeParameters (const char *parameterBuffer) |
| Deserialize the parameters from the given string buffer. | |
| bool | operator== (const DtCommand &) const |
| Comparison operators, function only on myType and myCommand, Will compare myUnknownCommandName if myCommand is theUnknownCommand; NOT myParameters. | |
| bool | operator!= (const DtCommand &) const |
| bool | operator< (const DtCommand &) const |
| bool | operator> (const DtCommand &) const |
Static Public Attributes | |
| static const DtLgrCommandId | theUnknownCommand = 0 |
| Unknown command, specific if commandName is used. | |
Protected Attributes | |
| DtLgrCommandType | myType |
| DtLgrCommandId | myCommand |
| DtCommandParamsSP | myParameters |
| DtString * | myUnknownCommandName |
The logger command which contains the command type and its parameters.
| bool MAKLogger::DtCommand::operator== | ( | const DtCommand & | ) | const |
Comparison operators, function only on myType and myCommand, Will compare myUnknownCommandName if myCommand is theUnknownCommand; NOT myParameters.