#include <connection_factory.hpp>
Public Member Functions | |
ConnFactory () | |
~ConnFactory () | |
Static Public Member Functions | |
template<typename T > | |
static ChannelElementBase::shared_ptr | buildBufferedChannelOutput (ConnectionBasePtr subscription, T const &initial_value=T()) |
template<typename T > | |
static ChannelElementBase::shared_ptr | buildChannelInput (ConnectionBasePtr publication, ChannelElementBase::shared_ptr output_channel) |
template<typename T > | |
static ChannelElementBase::shared_ptr | buildChannelOutput (ConnectionBasePtr subscription) |
template<typename T > | |
static ChannelElementBase * | buildDataStorage (const T &initial_value=T()) |
template<typename T > | |
static bool | createConnection (ConnectionBasePtr publication, ConnectionBasePtr subscription) |
Static Protected Member Functions | |
static bool | createAndCheckConnection (ConnectionBasePtr publication, ConnectionBasePtr subscription, ChannelElementBase::shared_ptr channel_input) |
This class provides the basic tools to create channels that represent connections between two ports.
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 18 of file connection_factory.hpp.
hpcl_rtt::ConnFactory::ConnFactory | ( | ) | [inline] |
Definition at line 21 of file connection_factory.hpp.
hpcl_rtt::ConnFactory::~ConnFactory | ( | ) | [inline] |
Definition at line 22 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr hpcl_rtt::ConnFactory::buildBufferedChannelOutput | ( | ConnectionBasePtr | subscription, |
T const & | initial_value = T() |
||
) | [inline, static] |
Definition at line 50 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr hpcl_rtt::ConnFactory::buildChannelInput | ( | ConnectionBasePtr | publication, |
ChannelElementBase::shared_ptr | output_channel | ||
) | [inline, static] |
Definition at line 34 of file connection_factory.hpp.
static ChannelElementBase::shared_ptr hpcl_rtt::ConnFactory::buildChannelOutput | ( | ConnectionBasePtr | subscription | ) | [inline, static] |
Definition at line 43 of file connection_factory.hpp.
static ChannelElementBase* hpcl_rtt::ConnFactory::buildDataStorage | ( | const T & | initial_value = T() | ) | [inline, static] |
Definition at line 25 of file connection_factory.hpp.
static bool hpcl_rtt::ConnFactory::createAndCheckConnection | ( | ConnectionBasePtr | publication, |
ConnectionBasePtr | subscription, | ||
ChannelElementBase::shared_ptr | channel_input | ||
) | [inline, static, protected] |
Definition at line 80 of file connection_factory.hpp.
static bool hpcl_rtt::ConnFactory::createConnection | ( | ConnectionBasePtr | publication, |
ConnectionBasePtr | subscription | ||
) | [inline, static] |
Definition at line 59 of file connection_factory.hpp.