DDS
ver. 3.6
|
Structure holds information of slot info response. More...
#include <ToolsProtocol.h>
Public Member Functions | |
SSlotInfoResponseData () | |
SSlotInfoResponseData (const boost::property_tree::ptree &_pt) | |
bool | operator== (const SSlotInfoResponseData &_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 slot. More... | |
uint64_t | m_agentID { 0 } |
Agent ID. More... | |
uint64_t | m_slotID { 0 } |
Agent ID. More... | |
uint64_t | m_taskID { 0 } |
Task ID, 0 if not assigned. More... | |
uint32_t | m_state { 0 } |
Slot state. More... | |
std::string | m_host |
Hostname. More... | |
std::string | m_wrkDir |
Wrk directory. More... | |
Public Attributes inherited from dds::tools_api::SBaseData< T > | |
requestID_t | m_requestID = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const SSlotInfoResponseData &_data) |
Ostream operator. More... | |
Structure holds information of slot info response.
SSlotInfoResponseData::SSlotInfoResponseData | ( | ) |
SSlotInfoResponseData::SSlotInfoResponseData | ( | const boost::property_tree::ptree & | _pt | ) |
bool SSlotInfoResponseData::operator== | ( | const SSlotInfoResponseData & | _val | ) | const |
Equality operator.
|
friend |
Ostream operator.
uint64_t dds::tools_api::SSlotInfoResponseData::m_agentID { 0 } |
Agent ID.
std::string dds::tools_api::SSlotInfoResponseData::m_host |
Hostname.
uint32_t dds::tools_api::SSlotInfoResponseData::m_index { 0 } |
Index of the current slot.
uint64_t dds::tools_api::SSlotInfoResponseData::m_slotID { 0 } |
Agent ID.
uint32_t dds::tools_api::SSlotInfoResponseData::m_state { 0 } |
Slot state.
uint64_t dds::tools_api::SSlotInfoResponseData::m_taskID { 0 } |
Task ID, 0 if not assigned.
std::string dds::tools_api::SSlotInfoResponseData::m_wrkDir |
Wrk directory.