6 #ifndef DDS_TOOLSPROTOCOL_H 7 #define DDS_TOOLSPROTOCOL_H 14 #include <boost/property_tree/ptree.hpp> 27 struct SMessageResponseData : SBaseResponseData<SMessageResponseData>
33 friend SBaseData<SMessageResponseData>;
34 friend SBaseResponseData<SMessageResponseData>;
35 void _fromPT(
const boost::property_tree::ptree& _pt);
36 void _toPT(boost::property_tree::ptree& _pt)
const;
37 static constexpr
const char* _protocolTag =
"message";
41 bool operator==(
const SMessageResponseData& _val)
const;
43 friend std::ostream&
operator<<(std::ostream& _os,
const SMessageResponseData& _data);
57 uint16_t _srcCmd, uint32_t _completed, uint32_t _total, uint32_t _errors, uint32_t _time = 0);
62 void _fromPT(
const boost::property_tree::ptree& _pt);
63 void _toPT(boost::property_tree::ptree& _pt)
const;
64 static constexpr
const char* _protocolTag =
"progress";
84 void _fromPT(
const boost::property_tree::ptree& _pt);
85 void _toPT(boost::property_tree::ptree& _pt)
const;
86 static constexpr
const char* _protocolTag =
"submit";
113 void _fromPT(
const boost::property_tree::ptree& _pt);
114 void _toPT(boost::property_tree::ptree& _pt)
const;
115 static constexpr
const char* _protocolTag =
"topology";
143 void _fromPT(
const boost::property_tree::ptree& _pt);
144 void _toPT(boost::property_tree::ptree& _pt)
const;
145 static constexpr
const char* _protocolTag =
"commanderInfo";
163 uint32_t m_index{ 0 };
164 uint64_t m_agentID{ 0 };
165 std::chrono::milliseconds m_startUpTime{ std::chrono::milliseconds(0) };
169 uint32_t m_agentPid{ 0 };
170 uint32_t m_nSlots{ 0 };
175 void _fromPT(
const boost::property_tree::ptree& _pt);
176 void _toPT(boost::property_tree::ptree& _pt)
const;
177 static constexpr
const char* _protocolTag =
"agentInfo";
190 using SAgentInfoRequest = SBaseRequestImpl<SAgentInfoRequestData, SAgentInfoResponseData>;
195 uint32_t m_activeSlotsCount = 0;
196 uint32_t m_idleSlotsCount = 0;
197 uint32_t m_executingSlotsCount = 0;
202 void _fromPT(
const boost::property_tree::ptree& _pt);
203 void _toPT(boost::property_tree::ptree& _pt)
const;
204 static constexpr
const char* _protocolTag =
"agentCount";
Definition: AgentConnectionManager.h:13
EMsgSeverity
Enumeration with message severity.
Definition: Intercom.h:126
bool operator==(const SChannelInfo< T > &lhs, const SChannelInfo< T > &rhs)
Definition: ChannelInfo.h:32