DDS  ver. 2.0
SMFWChannel.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__CSMFWChannel__
7 #define __DDS__CSMFWChannel__
8 // DDS
9 #include "BaseSMChannelImpl.h"
10 
11 namespace dds
12 {
13  class CSMFWChannel : public protocol_api::CBaseSMChannelImpl<CSMFWChannel>
14  {
15  protected:
16  CSMFWChannel(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  ~CSMFWChannel();
25 
26  public:
27  SM_RAW_MESSAGE_HANDLER(CSMFWChannel, on_rawMessage)
28 
29  private:
30  bool on_rawMessage(protocol_api::CProtocolMessage::protocolMessagePtr_t _currentMsg,
31  const protocol_api::SSenderInfo& _sender);
32  };
33 }
34 #endif
Definition: BaseEventHandlersImpl.h:48
#define SM_RAW_MESSAGE_HANDLER(theClass, func)
Definition: BaseSMChannelImpl.h:84
Definition: BaseSMChannelImpl.h:131
Definition: dds-agent/src/AgentConnectionManager.h:18
CSMFWChannel(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: SMFWChannel.cpp:14
Definition: SMFWChannel.h:13
EMQOpenType
Definition: BaseSMChannelImpl.h:123
~CSMFWChannel()
Definition: SMFWChannel.cpp:27
std::shared_ptr< CProtocolMessage > protocolMessagePtr_t
Definition: ProtocolMessage.h:80