DDS  ver. 2.0
Public Member Functions | Protected Member Functions | List of all members
dds::CSMUIChannel Class Reference

#include <SMUIChannel.h>

Inheritance diagram for dds::CSMUIChannel:
dds::protocol_api::CBaseSMChannelImpl< CSMUIChannel > dds::protocol_api::CChannelEventHandlersImpl dds::protocol_api::CChannelMessageHandlersImpl dds::protocol_api::CBaseEventHandlersImpl< EChannelEvents > dds::protocol_api::CBaseEventHandlersImpl< ECmdType >

Public Member Functions

 ~CSMUIChannel ()
 
 BEGIN_SM_MSG_MAP (CSMUIChannel) SM_MESSAGE_HANDLER(cmdUPDATE_KEY
 
on_cmdUPDATE_KEY SM_MESSAGE_HANDLER(cmdCUSTOM_CMD, on_cmdCUSTOM_CMD) END_SM_MSG_MAP() private bool on_cmdCUSTOM_CMD (protocol_api::SCommandAttachmentImpl< protocol_api::cmdCUSTOM_CMD >::ptr_t _attachment, const protocol_api::SSenderInfo &_sender)
 
- Public Member Functions inherited from dds::protocol_api::CBaseSMChannelImpl< CSMUIChannel >
 DDS_DECLARE_EVENT_HANDLER_CLASS (CChannelEventHandlersImpl) DDS_DECLARE_EVENT_HANDLER_CLASS(CChannelMessageHandlersImpl) protected
 
 ~CBaseSMChannelImpl ()
 
uint64_t getProtocolHeaderID () const
 
std::string getInputName () const
 
void addOutput (uint64_t _outputID, const std::string &_name, EMQOpenType _openType=EMQOpenType::OpenOnly)
 
bool started () const
 
void start ()
 
void stop ()
 
void removeMessageQueue ()
 
void pushMsg (CProtocolMessage::protocolMessagePtr_t _msg, ECmdType _cmd, uint64_t _outputID=0)
 
void pushMsg (const A &_attachment, uint64_t _protocolHeaderID=0, uint64_t _outputID=0)
 
void pushMsg (uint64_t _protocolHeaderID=0, uint64_t _outputID=0)
 
void syncSendShutdownAll ()
 

Protected Member Functions

 CSMUIChannel (boost::asio::io_service &_service, const std::string &_inputName, const std::string &_outputName, uint64_t _protocolHeaderID, protocol_api::EMQOpenType _inputOpenType, protocol_api::EMQOpenType _outputOpenType)
 

Additional Inherited Members

- Public Types inherited from dds::protocol_api::CBaseSMChannelImpl< CSMUIChannel >
typedef std::shared_ptr< CSMUIChannelconnectionPtr_t
 
typedef std::weak_ptr< CSMUIChannelweakConnectionPtr_t
 
- Static Public Member Functions inherited from dds::protocol_api::CBaseSMChannelImpl< CSMUIChannel >
static connectionPtr_t makeNew (boost::asio::io_service &_service, const std::string &_inputName, const std::string &_outputName, uint64_t _ProtocolHeaderID, EMQOpenType _inputOpenType=EMQOpenType::OpenOrCreate, EMQOpenType _outputOpenType=EMQOpenType::OpenOrCreate)
 
- Protected Attributes inherited from dds::protocol_api::CBaseSMChannelImpl< CSMUIChannel >
std::atomic< bool > m_isShuttingDown
 
std::atomic< bool > m_started
 True if we were able to start the channel, False otherwise. More...
 
uint64_t m_protocolHeaderID
 

Constructor & Destructor Documentation

◆ CSMUIChannel()

CSMUIChannel::CSMUIChannel ( boost::asio::io_service &  _service,
const std::string &  _inputName,
const std::string &  _outputName,
uint64_t  _protocolHeaderID,
protocol_api::EMQOpenType  _inputOpenType,
protocol_api::EMQOpenType  _outputOpenType 
)
protected

◆ ~CSMUIChannel()

CSMUIChannel::~CSMUIChannel ( )

Member Function Documentation

◆ BEGIN_SM_MSG_MAP()

dds::CSMUIChannel::BEGIN_SM_MSG_MAP ( CSMUIChannel  )

◆ on_cmdCUSTOM_CMD()

bool CSMUIChannel::on_cmdCUSTOM_CMD ( protocol_api::SCommandAttachmentImpl< protocol_api::cmdCUSTOM_CMD >::ptr_t  _attachment,
const protocol_api::SSenderInfo _sender 
)

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