DDS
ver. 3.6
|
Structure holds information of agentInfo response. More...
#include <ToolsProtocol.h>
Public Member Functions | |
SAgentInfoResponseData () | |
SAgentInfoResponseData (const boost::property_tree::ptree &_pt) | |
bool | operator== (const SAgentInfoResponseData &_val) const |
Equality operator. More... | |
Public Member Functions inherited from dds::tools_api::SBaseData< T > | |
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 T &_val) const |
Equality operator. More... | |
std::string | defaultToString () const |
Default string representation. More... | |
Public Attributes | |
uint32_t | m_index { 0 } |
Index of the current agent. More... | |
uint64_t | m_agentID { 0 } |
Agent ID. More... | |
std::chrono::milliseconds | m_startUpTime { std::chrono::milliseconds(0) } |
Agent's startup time. More... | |
std::string | m_username |
Username. More... | |
std::string | m_host |
Hostname. More... | |
std::string | m_DDSPath |
DDS path. More... | |
uint32_t | m_agentPid { 0 } |
Agent's process ID. More... | |
uint32_t | m_nSlots { 0 } |
Number of task slots. More... | |
uint32_t | m_nIdleSlots { 0 } |
Number of idle slots. More... | |
uint32_t | m_nExecutingSlots { 0 } |
Number of executing slots. More... | |
Public Attributes inherited from dds::tools_api::SBaseData< T > | |
requestID_t | m_requestID = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const SAgentInfoResponseData &_data) |
Ostream operator. More... | |
Structure holds information of agentInfo response.
SAgentInfoResponseData::SAgentInfoResponseData | ( | ) |
SAgentInfoResponseData::SAgentInfoResponseData | ( | const boost::property_tree::ptree & | _pt | ) |
bool SAgentInfoResponseData::operator== | ( | const SAgentInfoResponseData & | _val | ) | const |
Equality operator.
|
friend |
Ostream operator.
uint64_t dds::tools_api::SAgentInfoResponseData::m_agentID { 0 } |
Agent ID.
uint32_t dds::tools_api::SAgentInfoResponseData::m_agentPid { 0 } |
Agent's process ID.
std::string dds::tools_api::SAgentInfoResponseData::m_DDSPath |
DDS path.
std::string dds::tools_api::SAgentInfoResponseData::m_host |
Hostname.
uint32_t dds::tools_api::SAgentInfoResponseData::m_index { 0 } |
Index of the current agent.
uint32_t dds::tools_api::SAgentInfoResponseData::m_nExecutingSlots { 0 } |
Number of executing slots.
uint32_t dds::tools_api::SAgentInfoResponseData::m_nIdleSlots { 0 } |
Number of idle slots.
uint32_t dds::tools_api::SAgentInfoResponseData::m_nSlots { 0 } |
Number of task slots.
std::chrono::milliseconds dds::tools_api::SAgentInfoResponseData::m_startUpTime { std::chrono::milliseconds(0) } |
Agent's startup time.
std::string dds::tools_api::SAgentInfoResponseData::m_username |
Username.