DDS  ver.
Public Member Functions | Public Attributes | Friends | List of all members
dds::tools_api::SAgentInfoResponseData Struct Reference

Structure holds information of agentInfo response. More...

#include <ToolsProtocol.h>

Inheritance diagram for dds::tools_api::SAgentInfoResponseData:
dds::tools_api::SBaseResponseData< T > dds::tools_api::SBaseData< T >

Public Member Functions

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...
- Public Attributes inherited from dds::tools_api::SBaseData< T >
requestID_t m_requestID = 0


std::ostream & operator<< (std::ostream &_os, const SAgentInfoResponseData &_data)
 Ostream operator. More...

Detailed Description

Structure holds information of agentInfo response.

Member Function Documentation

◆ operator==()

bool SAgentInfoResponseData::operator== ( const SAgentInfoResponseData _val) const

Equality operator.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  _os,
const SAgentInfoResponseData _data 

Ostream operator.

Member Data Documentation

◆ m_agentID

uint64_t dds::tools_api::SAgentInfoResponseData::m_agentID { 0 }

Agent ID.

◆ m_agentPid

uint32_t dds::tools_api::SAgentInfoResponseData::m_agentPid { 0 }

Agent's process ID.

◆ m_DDSPath

std::string dds::tools_api::SAgentInfoResponseData::m_DDSPath

DDS path.

◆ m_host

std::string dds::tools_api::SAgentInfoResponseData::m_host


◆ m_index

uint32_t dds::tools_api::SAgentInfoResponseData::m_index { 0 }

Index of the current agent.

◆ m_nSlots

uint32_t dds::tools_api::SAgentInfoResponseData::m_nSlots { 0 }

Number of task slots.

◆ m_startUpTime

std::chrono::milliseconds dds::tools_api::SAgentInfoResponseData::m_startUpTime { std::chrono::milliseconds(0) }

Agent's startup time.

◆ m_username

std::string dds::tools_api::SAgentInfoResponseData::m_username


The documentation for this struct was generated from the following files: