DDS  ver. 2.0
SMUIChannel.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__CSMUIChannel__
7 #define __DDS__CSMUIChannel__
8 // DDS
9 #include "BaseSMChannelImpl.h"
10 
11 namespace dds
12 {
13  class CSMUIChannel : public protocol_api::CBaseSMChannelImpl<CSMUIChannel>
14  {
15  protected:
16  CSMUIChannel(boost::asio::io_service& _service,
17  const std::string& _inputName,
18  const std::string& _outputName,
19  uint64_t _protocolHeaderID,
20  protocol_api::EMQOpenType _inputOpenType,
21  protocol_api::EMQOpenType _outputOpenType);
22 
23  public:
24  ~CSMUIChannel();
25 
26  public:
28  SM_MESSAGE_HANDLER(cmdUPDATE_KEY, on_cmdUPDATE_KEY)
31 
32  private:
34  const protocol_api::SSenderInfo& _sender);
36  const protocol_api::SSenderInfo& _sender);
37  };
38 }
39 #endif
Definition: BaseEventHandlersImpl.h:48
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)
Definition: SMUIChannel.cpp:36
Definition: SMUIChannel.h:13
std::shared_ptr< SEmptyCmd > ptr_t
Definition: CommandAttachmentImpl.h:66
#define END_SM_MSG_MAP()
Definition: BaseSMChannelImpl.h:72
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)
Definition: SMUIChannel.cpp:14
Definition: BaseSMChannelImpl.h:131
Definition: dds-agent/src/AgentConnectionManager.h:18
Definition: ProtocolCommands.h:66
Definition: ProtocolCommands.h:54
~CSMUIChannel()
Definition: SMUIChannel.cpp:25
EMQOpenType
Definition: BaseSMChannelImpl.h:123
BEGIN_SM_MSG_MAP(CSMUIChannel) SM_MESSAGE_HANDLER(cmdUPDATE_KEY
#define SM_MESSAGE_HANDLER(msg, func)
Definition: BaseSMChannelImpl.h:51