#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DataTypes/CommandData.hpp>
Public Member Functions | |
CommandData (long long timestamp, const std::string &commandID, Value *commandValue) | |
Constructor. | |
CommandData (long long timestamp, const CommandSet &commands) | |
Constructor. | |
CommandData (const CommandSet &commands) | |
Constructor. | |
const CommandSet * | getCommands () const |
Get commands. | |
void | setCommands (const CommandSet &) |
Set commands. | |
virtual std::ostream & | put (std::ostream &) const |
Prints DxcData in standardized, parseable format. | |
std::string | getCommandID () const |
Get command ID string. | |
const Value * | getCommandValue () const |
Get command Value. | |
virtual CommandData * | clone () const |
Virtual copy constructor. |
Command datatype.
CommandData::CommandData | ( | long long | timestamp, | |
const std::string & | commandID, | |||
Value * | commandValue | |||
) |
Constructor.
timestamp | - message timestamp | |
commandID | - command ID string | |
commandValue | - the Value of the command |
CommandData::CommandData | ( | long long | timestamp, | |
const CommandSet & | commands | |||
) |
Constructor.
timestamp | - message timestamp | |
commands | - map of command IDs to Values |
CommandData::CommandData | ( | const CommandSet & | commands | ) |
Constructor.
commands | - map of command IDs to Values |
CommandData * CommandData::clone | ( | ) | const [virtual] |
Virtual copy constructor.
Returns a pointer to a copy of the DxcData. The user is responsible for managing the memory.
Implements Dxc::DxcData.