DDS  ver. 1.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dds::protocol_api::CBaseSMChannelImpl< T > Class Template Reference

#include <BaseSMChannelImpl.h>

Inheritance diagram for dds::protocol_api::CBaseSMChannelImpl< T >:
dds::protocol_api::CChannelMessageHandlersImpl

Public Types

typedef std::shared_ptr< T > connectionPtr_t
 

Public Member Functions

 ~CBaseSMChannelImpl ()
 
void reinit ()
 
void start ()
 
void stop ()
 
void removeMessageQueue ()
 
template<ECmdType _cmd, class A >
void pushMsg (const A &_attachment)
 
template<ECmdType _cmd>
void pushMsg ()
 
- Public Member Functions inherited from dds::protocol_api::CChannelMessageHandlersImpl
template<ECmdType _cmd, typename Func >
void registerMessageHandler (Func _handler)
 
template<class... Args>
void dispatchMessageHandlers (ECmdType _cmd, Args &&... args)
 
template<ECmdType _cmd>
size_t getNofMessageHandlers () const
 

Static Public Member Functions

static connectionPtr_t makeNew (const std::string &_inputName, const std::string &_outputName)
 

Protected Member Functions

 CBaseSMChannelImpl (const std::string &_inputName, const std::string &_outputName)
 

Protected Attributes

std::atomic< bool > m_started
 True if we were able to start the channel, False otherwise. More...
 

Member Typedef Documentation

◆ connectionPtr_t

template<class T>
typedef std::shared_ptr<T> dds::protocol_api::CBaseSMChannelImpl< T >::connectionPtr_t

Constructor & Destructor Documentation

◆ CBaseSMChannelImpl()

template<class T>
dds::protocol_api::CBaseSMChannelImpl< T >::CBaseSMChannelImpl ( const std::string &  _inputName,
const std::string &  _outputName 
)
inlineprotected

◆ ~CBaseSMChannelImpl()

template<class T>
dds::protocol_api::CBaseSMChannelImpl< T >::~CBaseSMChannelImpl ( )
inline

Member Function Documentation

◆ makeNew()

template<class T>
static connectionPtr_t dds::protocol_api::CBaseSMChannelImpl< T >::makeNew ( const std::string &  _inputName,
const std::string &  _outputName 
)
inlinestatic

◆ pushMsg() [1/2]

template<class T>
template<ECmdType _cmd, class A >
void dds::protocol_api::CBaseSMChannelImpl< T >::pushMsg ( const A &  _attachment)
inline

◆ pushMsg() [2/2]

template<class T>
template<ECmdType _cmd>
void dds::protocol_api::CBaseSMChannelImpl< T >::pushMsg ( )
inline

◆ reinit()

template<class T>
void dds::protocol_api::CBaseSMChannelImpl< T >::reinit ( )
inline

◆ removeMessageQueue()

template<class T>
void dds::protocol_api::CBaseSMChannelImpl< T >::removeMessageQueue ( )
inline

◆ start()

template<class T>
void dds::protocol_api::CBaseSMChannelImpl< T >::start ( )
inline

◆ stop()

template<class T>
void dds::protocol_api::CBaseSMChannelImpl< T >::stop ( )
inline

Member Data Documentation

◆ m_started

template<class T>
std::atomic<bool> dds::protocol_api::CBaseSMChannelImpl< T >::m_started
protected

True if we were able to start the channel, False otherwise.


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