DDS
ver. 3.6
|
Structure holds information of topology request. More...
#include <ToolsProtocol.h>
Public Types | |
enum | EUpdateType : uint8_t { EUpdateType::UPDATE = 0, EUpdateType::ACTIVATE, EUpdateType::STOP } |
Public Member Functions | |
STopologyRequestData () | |
STopologyRequestData (const boost::property_tree::ptree &_pt) | |
bool | operator== (const STopologyRequestData &_val) const |
Equality operator. More... | |
Public Member Functions inherited from dds::tools_api::SBaseData< STopologyRequestData > | |
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 STopologyRequestData &_val) const |
Equality operator. More... | |
std::string | defaultToString () const |
Default string representation. More... | |
Public Attributes | |
EUpdateType | m_updateType = EUpdateType::UPDATE |
Topology update type: Update, Activate, Stop. More... | |
std::string | m_topologyFile |
A topology file to process. More... | |
bool | m_disableValidation = false |
A flag to disiable topology validation before processing it. More... | |
Public Attributes inherited from dds::tools_api::SBaseData< STopologyRequestData > | |
requestID_t | m_requestID |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const STopologyRequestData &_data) |
Ostream operator. More... | |
Structure holds information of topology request.
|
strong |
STopologyRequestData::STopologyRequestData | ( | ) |
STopologyRequestData::STopologyRequestData | ( | const boost::property_tree::ptree & | _pt | ) |
bool STopologyRequestData::operator== | ( | const STopologyRequestData & | _val | ) | const |
Equality operator.
|
friend |
Ostream operator.
bool dds::tools_api::STopologyRequestData::m_disableValidation = false |
A flag to disiable topology validation before processing it.
std::string dds::tools_api::STopologyRequestData::m_topologyFile |
A topology file to process.
EUpdateType dds::tools_api::STopologyRequestData::m_updateType = EUpdateType::UPDATE |
Topology update type: Update, Activate, Stop.