DDS  ver. 1.6
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(const std::string& _inputName, const std::string& _outputName)
17  : CBaseSMChannelImpl<CSMUIChannel>(_inputName, _outputName)
18  {
19  }
20 
21  public:
23  {
25  }
26 
27  public:
29  SM_MESSAGE_HANDLER(cmdCUSTOM_CMD, on_cmdCUSTOM_CMD)
32 
33  private:
36  };
37 }
38 #endif
CBaseSMChannelImpl(const std::string &_inputName, const std::string &_outputName)
Definition: BaseSMChannelImpl.h:94
Definition: SMUIChannel.h:13
~CSMUIChannel()
Definition: SMUIChannel.h:22
std::shared_ptr< SEmptyCmd > ptr_t
Definition: CommandAttachmentImpl.h:65
CSMUIChannel(const std::string &_inputName, const std::string &_outputName)
Definition: SMUIChannel.h:16
#define END_SM_MSG_MAP()
Definition: BaseSMChannelImpl.h:67
Definition: BaseSMChannelImpl.h:83
Definition: dds-agent/src/AgentConnectionManager.h:16
void removeMessageQueue()
Definition: BaseSMChannelImpl.h:223
Definition: ProtocolCommands.h:65
Definition: ProtocolCommands.h:53
BEGIN_SM_MSG_MAP(CSMUIChannel) SM_MESSAGE_HANDLER(cmdCUSTOM_CMD
on_cmdCUSTOM_CMD SM_MESSAGE_HANDLER(cmdUPDATE_KEY, on_cmdUPDATE_KEY) END_SM_MSG_MAP() private bool on_cmdUPDATE_KEY(protocol_api::SCommandAttachmentImpl< protocol_api::cmdUPDATE_KEY >::ptr_t _attachment)
Definition: SMUIChannel.cpp:14
#define SM_MESSAGE_HANDLER(msg, func)
Definition: BaseSMChannelImpl.h:46