DDS
ver. 3.6
|
Base class for connection managers. More...
#include <ConnectionManagerImpl.h>
Public Types | |
typedef SChannelInfo< T > | channelInfo_t |
typedef SWeakChannelInfo< T > | weakChannelInfo_t |
typedef std::function< bool(const channelInfo_t &_channelInfo, bool &)> | conditionFunction_t |
using | channelContainerCache_t = std::map< uint64_t, weakChannelInfo_t > |
Public Member Functions | |
CConnectionManagerImpl (size_t _minPort, size_t _maxPort, bool _useUITransport) | |
~CConnectionManagerImpl () | |
void | start (bool _join=true, unsigned int _nThreads=0) |
void | runService (short _counter, boost::asio::io_context &_io_context) |
void | stop () |
Protected Member Functions | |
void | updateChannelProtocolHeaderID (const weakChannelInfo_t &_channelInfo) |
weakChannelInfo_t | getChannelByID (uint64_t _protocolHeaderID) |
weakChannelInfo_t::container_t | getChannels (conditionFunction_t _condition=nullptr) |
template<ECmdType _cmd, class AttachmentType > | |
void | broadcastMsg (const AttachmentType &_attachment, conditionFunction_t _condition=nullptr) |
template<ECmdType _cmd, class AttachmentType > | |
void | accumulativeBroadcastMsg (const AttachmentType &_attachment, conditionFunction_t _condition=nullptr) |
template<ECmdType _cmd> | |
void | broadcastSimpleMsg (conditionFunction_t _condition=nullptr) |
void | broadcastBinaryAttachmentCmd (const std::string &_srcFilePath, const std::string &_fileName, uint16_t _cmdSource, conditionFunction_t _condition=nullptr) |
void | broadcastBinaryAttachmentCmd (const dds::misc::BYTEVector_t &_data, const std::string &_fileName, uint16_t _cmdSource, conditionFunction_t _condition=nullptr) |
size_t | countNofChannels (conditionFunction_t _condition=nullptr) |
Base class for connection managers.
using dds::protocol_api::CConnectionManagerImpl< T, A >::channelContainerCache_t = std::map<uint64_t, weakChannelInfo_t> |
typedef SChannelInfo<T> dds::protocol_api::CConnectionManagerImpl< T, A >::channelInfo_t |
typedef std::function<bool(const channelInfo_t& _channelInfo, bool& )> dds::protocol_api::CConnectionManagerImpl< T, A >::conditionFunction_t |
typedef SWeakChannelInfo<T> dds::protocol_api::CConnectionManagerImpl< T, A >::weakChannelInfo_t |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |