#include <connection_factory.hpp>
Public Member Functions | |
ConnFactory () | |
~ConnFactory () | |
Static Public Member Functions | |
template<typename M > | |
static ChannelElementBase::shared_ptr | buildBufferedChannelOutput (ConnectionBasePtr subscription, M const &initial_value=M()) |
template<typename M > | |
static ChannelElementBase::shared_ptr | buildChannelInput (ConnectionBasePtr publication, ChannelElementBase::shared_ptr output_channel) |
template<typename M > | |
static ChannelElementBase::shared_ptr | buildChannelOutput (ConnectionBasePtr subscription) |
template<typename M > | |
static ChannelElementBase * | buildDataStorage (const M &initial_value=M()) |
template<typename M > | |
static bool | createConnection (ConnectionBasePtr publication, ConnectionBasePtr subscription) |
template<class M > | |
static bool | createStream (ConnectionBasePtr connection, bool is_sender) |
Static Protected Member Functions | |
static bool | createAndCheckConnection (ConnectionBasePtr publication, ConnectionBasePtr subscription, ChannelElementBase::shared_ptr channel_input) |
static bool | createAndCheckStream (ConnectionBasePtr connection, ChannelElementBase::shared_ptr chan, bool is_sender) |
template<typename M > | |
static ChannelElementBase::shared_ptr | createMqStream (ConnectionBasePtr connection, bool is_sender) |
This class provides the basic tools to create channels that represent connections between two connections.
The ports and type transports use these functions to setup connections. The interface may change as the needs of these 'users' change.
Definition at line 39 of file connection_factory.hpp.
micros_rtt::ConnFactory::ConnFactory | ( | ) | [inline] |
Definition at line 42 of file connection_factory.hpp.
micros_rtt::ConnFactory::~ConnFactory | ( | ) | [inline] |
Definition at line 43 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr micros_rtt::ConnFactory::buildBufferedChannelOutput | ( | ConnectionBasePtr | subscription, |
M const & | initial_value = M() |
||
) | [inline, static] |
Definition at line 71 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr micros_rtt::ConnFactory::buildChannelInput | ( | ConnectionBasePtr | publication, |
ChannelElementBase::shared_ptr | output_channel | ||
) | [inline, static] |
Definition at line 55 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr micros_rtt::ConnFactory::buildChannelOutput | ( | ConnectionBasePtr | subscription | ) | [inline, static] |
Definition at line 64 of file connection_factory.hpp.
static ChannelElementBase* micros_rtt::ConnFactory::buildDataStorage | ( | const M & | initial_value = M() | ) | [inline, static] |
Definition at line 46 of file connection_factory.hpp.
bool micros_rtt::ConnFactory::createAndCheckConnection | ( | ConnectionBasePtr | publication, |
ConnectionBasePtr | subscription, | ||
ChannelElementBase::shared_ptr | channel_input | ||
) | [static, protected] |
Definition at line 24 of file connection_factory.cpp.
bool micros_rtt::ConnFactory::createAndCheckStream | ( | ConnectionBasePtr | connection, |
ChannelElementBase::shared_ptr | chan, | ||
bool | is_sender | ||
) | [static, protected] |
Definition at line 43 of file connection_factory.cpp.
static bool micros_rtt::ConnFactory::createConnection | ( | ConnectionBasePtr | publication, |
ConnectionBasePtr | subscription | ||
) | [inline, static] |
Definition at line 80 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr micros_rtt::ConnFactory::createMqStream | ( | ConnectionBasePtr | connection, |
bool | is_sender | ||
) | [inline, static, protected] |
Definition at line 150 of file connection_factory.hpp.
static bool micros_rtt::ConnFactory::createStream | ( | ConnectionBasePtr | connection, |
bool | is_sender | ||
) | [inline, static] |
Definition at line 103 of file connection_factory.hpp.