|
DDS
ver. 2.0
|
#include <SMUIChannel.h>
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< CSMUIChannel > | connectionPtr_t |
| typedef std::weak_ptr< CSMUIChannel > | weakConnectionPtr_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 |
|
protected |
| CSMUIChannel::~CSMUIChannel | ( | ) |
| dds::CSMUIChannel::BEGIN_SM_MSG_MAP | ( | CSMUIChannel | ) |
| bool CSMUIChannel::on_cmdCUSTOM_CMD | ( | protocol_api::SCommandAttachmentImpl< protocol_api::cmdCUSTOM_CMD >::ptr_t | _attachment, |
| const protocol_api::SSenderInfo & | _sender | ||
| ) |
1.8.13