Public Member Functions | Static Public Member Functions | Static Protected Member Functions
micros_rtt::ConnFactory Class Reference

#include <connection_factory.hpp>

List of all members.

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 ChannelElementBasebuildDataStorage (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)

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 42 of file connection_factory.hpp.

Definition at line 43 of file connection_factory.hpp.


Member Function Documentation

template<typename M >
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.

template<typename M >
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.

template<typename M >
static ChannelElementBase::shared_ptr micros_rtt::ConnFactory::buildChannelOutput ( ConnectionBasePtr  subscription) [inline, static]

Definition at line 64 of file connection_factory.hpp.

template<typename M >
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.

template<typename M >
static bool micros_rtt::ConnFactory::createConnection ( ConnectionBasePtr  publication,
ConnectionBasePtr  subscription 
) [inline, static]

Definition at line 80 of file connection_factory.hpp.

template<typename M >
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.

template<class M >
static bool micros_rtt::ConnFactory::createStream ( ConnectionBasePtr  connection,
bool  is_sender 
) [inline, static]

Definition at line 103 of file connection_factory.hpp.


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


micros_rtt
Author(s): Zaile Jiang , Xiaodong Yi , Minglong Li
autogenerated on Sat Jun 8 2019 19:02:21