DDS
ver. 3.6
|
Structure holds information of agentCommand request. More...
#include <ToolsProtocol.h>
Public Types | |
enum | EAgentCommandType : uint8_t { EAgentCommandType::shutDownByID = 0, EAgentCommandType::shutDownBySlotID } |
Public Member Functions | |
SAgentCommandRequestData () | |
SAgentCommandRequestData (const boost::property_tree::ptree &_pt) | |
bool | operator== (const SAgentCommandRequestData &_val) const |
Equality operator. More... | |
Public Member Functions inherited from dds::tools_api::SBaseData< SAgentCommandRequestData > | |
std::string | toJSON () const |
Fill structure into JSON. More... | |
void | toPT (boost::property_tree::ptree &_pt) const |
Fill structure into boost's property tree. More... | |
void | fromPT (const boost::property_tree::ptree &_pt) |
Init structure from boost's property tree. More... | |
bool | operator== (const SAgentCommandRequestData &_val) const |
Equality operator. More... | |
std::string | defaultToString () const |
Default string representation. More... | |
Public Attributes | |
EAgentCommandType | m_commandType = EAgentCommandType::shutDownByID |
uint64_t | m_arg1 { 0 } |
argument #1 - numeric. The usage depends on the command. More... | |
std::string | m_arg2 |
argument #1 - string. The usage depends on the command. More... | |
Public Attributes inherited from dds::tools_api::SBaseData< SAgentCommandRequestData > | |
requestID_t | m_requestID |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const SAgentCommandRequestData &_data) |
Ostream operator. More... | |
Structure holds information of agentCommand request.
|
strong |
SAgentCommandRequestData::SAgentCommandRequestData | ( | ) |
SAgentCommandRequestData::SAgentCommandRequestData | ( | const boost::property_tree::ptree & | _pt | ) |
bool SAgentCommandRequestData::operator== | ( | const SAgentCommandRequestData & | _val | ) | const |
Equality operator.
|
friend |
Ostream operator.
uint64_t dds::tools_api::SAgentCommandRequestData::m_arg1 { 0 } |
argument #1 - numeric. The usage depends on the command.
std::string dds::tools_api::SAgentCommandRequestData::m_arg2 |
argument #1 - string. The usage depends on the command.
EAgentCommandType dds::tools_api::SAgentCommandRequestData::m_commandType = EAgentCommandType::shutDownByID |