DDS  ver. 3.4
Public Member Functions | Public Attributes | List of all members
dds::intercom_api::SInit Struct Reference

Structure holds information of init notification. More...

#include <Intercom.h>

Public Member Functions

 SInit ()
 Default constructor. More...
 
std::string toJSON ()
 Converts structure to JSON. More...
 
void fromJSON (const std::string &_json)
 Init structure from JSON. More...
 
void fromPT (const boost::property_tree::ptree &_pt)
 Init structure from boost's property tree. More...
 
bool operator== (const SInit &_val) const
 Equality operator. More...
 

Public Attributes

std::string m_id
 ID for communication with DDS commander. More...
 

Detailed Description

Structure holds information of init notification.

Constructor & Destructor Documentation

◆ SInit()

SInit::SInit ( )

Default constructor.

Member Function Documentation

◆ fromJSON()

void SInit::fromJSON ( const std::string &  _json)

Init structure from JSON.

Parameters
[in]_jsonJSON string with structure details.

◆ fromPT()

void SInit::fromPT ( const boost::property_tree::ptree &  _pt)

Init structure from boost's property tree.

Parameters
[in]_ptProperty tree with structure details.

◆ operator==()

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

Equality operator.

◆ toJSON()

std::string SInit::toJSON ( )

Converts structure to JSON.

Returns
String with JSON.

Member Data Documentation

◆ m_id

std::string dds::intercom_api::SInit::m_id

ID for communication with DDS commander.


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