Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | Static Private Attributes
RTT::corba::CDataFlowInterface_i Class Reference

#include <DataFlowI.h>

Inheritance diagram for RTT::corba::CDataFlowInterface_i:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PortableServer::POA_ptr _default_POA ()
virtual
RTT::corba::CDataFlowInterface_ptr 
activate_this ()
 CDataFlowInterface_i (DataFlowInterface *interface, PortableServer::POA_ptr poa)
void deregisterChannel (CChannelElement_ptr channel)
virtual ~CDataFlowInterface_i ()

Static Public Member Functions

static void clearServants ()
static void deregisterServant (DataFlowInterface *obj)
static DataFlowInterfacegetLocalInterface (CDataFlowInterface_ptr objref)
static CDataFlowInterface_ptr getRemoteInterface (DataFlowInterface *dfi, PortableServer::POA_ptr poa)
static void registerServant (CDataFlowInterface_ptr objref, DataFlowInterface *obj)

Private Types

typedef std::list< std::pair
< RTT::corba::CChannelElement_var,
base::ChannelElementBase::shared_ptr > > 
ChannelList
typedef std::list< std::pair
< RTT::corba::CDataFlowInterface_var,
DataFlowInterface * > > 
ServantMap

Private Attributes

ChannelList channel_list
RTT::os::Mutex channel_list_mtx
DataFlowInterfacemdf
PortableServer::POA_var mpoa

Static Private Attributes

static ServantMap s_servant_map

Detailed Description

Represents a remote data flow interface. Allows to build connections from a local port to a remote port. If the ConnPolicy says so, this interface can also build connections using other transports.

Definition at line 111 of file DataFlowI.h.


Member Typedef Documentation

typedef std::list< std::pair<RTT::corba::CChannelElement_var, base::ChannelElementBase::shared_ptr> > RTT::corba::CDataFlowInterface_i::ChannelList [private]

Definition at line 127 of file DataFlowI.h.

typedef std::list< std::pair<RTT::corba::CDataFlowInterface_var, DataFlowInterface*> > RTT::corba::CDataFlowInterface_i::ServantMap [private]

Keeps track of servants, such that we can dispose them at the end.

Definition at line 122 of file DataFlowI.h.


Constructor & Destructor Documentation

CDataFlowInterface_i::CDataFlowInterface_i ( RTT::DataFlowInterface interface,
PortableServer::POA_ptr  poa 
)

Definition at line 68 of file DataFlowI.cpp.

Definition at line 73 of file DataFlowI.cpp.


Member Function Documentation

PortableServer::POA_ptr CDataFlowInterface_i::_default_POA ( )

Reimplemented in RTT_corba_CService_i.

Definition at line 130 of file DataFlowI.cpp.

virtual RTT::corba::CDataFlowInterface_ptr RTT::corba::CDataFlowInterface_i::activate_this ( ) [inline, virtual]

Reimplemented in RTT_corba_CService_i.

Definition at line 150 of file DataFlowI.h.

Definition at line 99 of file DataFlowI.cpp.

void CDataFlowInterface_i::deregisterChannel ( CChannelElement_ptr  channel)

Deregisters the given channel from the channel list

Definition at line 222 of file DataFlowI.cpp.

Definition at line 86 of file DataFlowI.cpp.

RTT::DataFlowInterface * CDataFlowInterface_i::getLocalInterface ( CDataFlowInterface_ptr  objref) [static]

Definition at line 104 of file DataFlowI.cpp.

CDataFlowInterface_ptr CDataFlowInterface_i::getRemoteInterface ( RTT::DataFlowInterface dfi,
PortableServer::POA_ptr  poa 
) [static]

Returns an object reference to a remote interface. In case you wish to keep this object reference, you need to duplicate it.

Definition at line 115 of file DataFlowI.cpp.

void CDataFlowInterface_i::registerServant ( CDataFlowInterface_ptr  objref,
RTT::DataFlowInterface obj 
) [static]

Definition at line 78 of file DataFlowI.cpp.


Member Data Documentation

Definition at line 128 of file DataFlowI.h.

Definition at line 130 of file DataFlowI.h.

Definition at line 114 of file DataFlowI.h.

PortableServer::POA_var RTT::corba::CDataFlowInterface_i::mpoa [private]

Reimplemented in RTT_corba_CService_i.

Definition at line 115 of file DataFlowI.h.

Definition at line 123 of file DataFlowI.h.


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


rtt
Author(s): RTT Developers
autogenerated on Mon Oct 6 2014 03:13:58