DDS  ver. 2.0
Public Types | Public Member Functions | Public Attributes | List of all members
dds::intercom_api::CKeyValue Class Reference

#include <dds_intercom.h>

Public Types

typedef boost::signals2::signal< void(const std::string &, const std::string &, const std::string &)> signal_t
 
typedef boost::signals2::signal< void(const std::string &, const std::string &)> deleteSignal_t
 

Public Member Functions

 CKeyValue (CIntercomService &_service)
 
 ~CKeyValue ()
 
void putValue (const std::string &_key, const std::string &_value)
 
void subscribe (signal_t::slot_function_type _subscriber)
 
void subscribeOnDelete (deleteSignal_t::slot_function_type _subscriber)
 
void unsubscribe ()
 

Public Attributes

CIntercomServicem_service
 Reference to intercom service. Internally we don't use this object. We store the reference in order to keep the relation between CKeyValue and CIntercomService. More...
 

Member Typedef Documentation

◆ deleteSignal_t

typedef boost::signals2::signal<void(const std::string& , const std::string& )> dds::intercom_api::CKeyValue::deleteSignal_t

◆ signal_t

typedef boost::signals2::signal<void( const std::string& , const std::string& , const std::string& )> dds::intercom_api::CKeyValue::signal_t

Constructor & Destructor Documentation

◆ CKeyValue()

CKeyValue::CKeyValue ( CIntercomService _service)

◆ ~CKeyValue()

CKeyValue::~CKeyValue ( )

Member Function Documentation

◆ putValue()

void CKeyValue::putValue ( const std::string &  _key,
const std::string &  _value 
)

◆ subscribe()

void CKeyValue::subscribe ( signal_t::slot_function_type  _subscriber)

◆ subscribeOnDelete()

void CKeyValue::subscribeOnDelete ( deleteSignal_t::slot_function_type  _subscriber)

◆ unsubscribe()

void CKeyValue::unsubscribe ( )

Member Data Documentation

◆ m_service

CIntercomService& dds::intercom_api::CKeyValue::m_service

Reference to intercom service. Internally we don't use this object. We store the reference in order to keep the relation between CKeyValue and CIntercomService.


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