DDS  ver. 2.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dds::internal_api::CDDSIntercomGuard Class Reference

#include <DDSIntercomGuard.h>

Public Member Functions

connection_t connectError (intercom_api::errorSignal_t::slot_function_type _subscriber)
 
connection_t connectCustomCmd (customCmdSignal_t::slot_function_type _subscriber)
 
connection_t connectCustomCmdReply (customCmdReplySignal_t::slot_function_type _subscriber)
 
connection_t connectKeyValue (keyValueSignal_t::slot_function_type _subscriber)
 
connection_t connectKeyValueDelete (keyValueDeleteSignal_t::slot_function_type _subscriber)
 
void disconnectCustomCmd ()
 
void disconnectKeyValue ()
 
bool updateCacheIfNeeded (const protocol_api::SUpdateKeyCmd &_cmd)
 
void on_cmdUPDATE_KEY_SM (const protocol_api::SSenderInfo &_sender, protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY >::ptr_t _attachment)
 
void on_cmdUPDATE_KEY_ERROR_SM (const protocol_api::SSenderInfo &_sender, protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY_ERROR >::ptr_t _attachment)
 
void on_cmdDELETE_KEY_SM (const protocol_api::SSenderInfo &_sender, protocol_api::SCommandAttachmentImpl< protocol_api::cmdDELETE_KEY >::ptr_t _attachment)
 
void on_cmdCUSTOM_CMD_SM (const protocol_api::SSenderInfo &_sender, protocol_api::SCommandAttachmentImpl< protocol_api::cmdCUSTOM_CMD >::ptr_t _attachment)
 
void on_cmdSIMPLE_MSG_SM (const protocol_api::SSenderInfo &_sender, protocol_api::SCommandAttachmentImpl< protocol_api::cmdSIMPLE_MSG >::ptr_t _attachment)
 
void sendCustomCmd (const std::string &_command, const std::string &_condition)
 
void putValue (const std::string &_key, const std::string &_value)
 
void waitCondition ()
 
void stopCondition ()
 
void start (const std::string &_sessionID)
 
void stop ()
 
void initAgentConnection ()
 

Static Public Member Functions

static CDDSIntercomGuardinstance ()
 
static void clean ()
 

Public Attributes

intercom_api::errorSignal_t m_errorSignal
 
keyValueSignal_t m_keyValueUpdateSignal
 
keyValueDeleteSignal_t m_keyValueDeleteSignal
 
customCmdSignal_t m_customCmdSignal
 
customCmdReplySignal_t m_customCmdReplySignal
 

Member Function Documentation

◆ clean()

void CDDSIntercomGuard::clean ( )
static

◆ connectCustomCmd()

connection_t CDDSIntercomGuard::connectCustomCmd ( customCmdSignal_t::slot_function_type  _subscriber)

◆ connectCustomCmdReply()

connection_t CDDSIntercomGuard::connectCustomCmdReply ( customCmdReplySignal_t::slot_function_type  _subscriber)

◆ connectError()

connection_t CDDSIntercomGuard::connectError ( intercom_api::errorSignal_t::slot_function_type  _subscriber)

◆ connectKeyValue()

connection_t CDDSIntercomGuard::connectKeyValue ( keyValueSignal_t::slot_function_type  _subscriber)

◆ connectKeyValueDelete()

connection_t CDDSIntercomGuard::connectKeyValueDelete ( keyValueDeleteSignal_t::slot_function_type  _subscriber)

◆ disconnectCustomCmd()

void CDDSIntercomGuard::disconnectCustomCmd ( )

◆ disconnectKeyValue()

void CDDSIntercomGuard::disconnectKeyValue ( )

◆ initAgentConnection()

void dds::internal_api::CDDSIntercomGuard::initAgentConnection ( )

◆ instance()

CDDSIntercomGuard & CDDSIntercomGuard::instance ( )
static

◆ on_cmdCUSTOM_CMD_SM()

void CDDSIntercomGuard::on_cmdCUSTOM_CMD_SM ( const protocol_api::SSenderInfo _sender,
protocol_api::SCommandAttachmentImpl< protocol_api::cmdCUSTOM_CMD >::ptr_t  _attachment 
)

◆ on_cmdDELETE_KEY_SM()

void CDDSIntercomGuard::on_cmdDELETE_KEY_SM ( const protocol_api::SSenderInfo _sender,
protocol_api::SCommandAttachmentImpl< protocol_api::cmdDELETE_KEY >::ptr_t  _attachment 
)

◆ on_cmdSIMPLE_MSG_SM()

void CDDSIntercomGuard::on_cmdSIMPLE_MSG_SM ( const protocol_api::SSenderInfo _sender,
protocol_api::SCommandAttachmentImpl< protocol_api::cmdSIMPLE_MSG >::ptr_t  _attachment 
)

◆ on_cmdUPDATE_KEY_ERROR_SM()

void CDDSIntercomGuard::on_cmdUPDATE_KEY_ERROR_SM ( const protocol_api::SSenderInfo _sender,
protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY_ERROR >::ptr_t  _attachment 
)

◆ on_cmdUPDATE_KEY_SM()

void CDDSIntercomGuard::on_cmdUPDATE_KEY_SM ( const protocol_api::SSenderInfo _sender,
protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY >::ptr_t  _attachment 
)

◆ putValue()

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

◆ sendCustomCmd()

void CDDSIntercomGuard::sendCustomCmd ( const std::string &  _command,
const std::string &  _condition 
)

◆ start()

void CDDSIntercomGuard::start ( const std::string &  _sessionID)

◆ stop()

void CDDSIntercomGuard::stop ( )

◆ stopCondition()

void CDDSIntercomGuard::stopCondition ( )

◆ updateCacheIfNeeded()

bool CDDSIntercomGuard::updateCacheIfNeeded ( const protocol_api::SUpdateKeyCmd _cmd)

◆ waitCondition()

void CDDSIntercomGuard::waitCondition ( )

Member Data Documentation

◆ m_customCmdReplySignal

customCmdReplySignal_t dds::internal_api::CDDSIntercomGuard::m_customCmdReplySignal

◆ m_customCmdSignal

customCmdSignal_t dds::internal_api::CDDSIntercomGuard::m_customCmdSignal

◆ m_errorSignal

intercom_api::errorSignal_t dds::internal_api::CDDSIntercomGuard::m_errorSignal

◆ m_keyValueDeleteSignal

keyValueDeleteSignal_t dds::internal_api::CDDSIntercomGuard::m_keyValueDeleteSignal

◆ m_keyValueUpdateSignal

keyValueSignal_t dds::internal_api::CDDSIntercomGuard::m_keyValueUpdateSignal

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