Public Member Functions | Protected Member Functions | Protected Attributes
RTT::corba::RemotePort< PortClass > Class Template Reference

#include <RemotePorts.hpp>

List of all members.

Public Member Functions

PortableServer::POA_ptr _default_POA ()
virtual bool addConnection (internal::ConnID *port_id, base::ChannelElementBase::shared_ptr channel_input, ConnPolicy const &policy)
bool connected () const
bool createStream (const ConnPolicy &policy)
void disconnect ()
bool disconnect (base::PortInterface *p)
CDataFlowInterface_ptr getDataFlowInterface () const
internal::ConnIDgetPortID () const
types::TypeInfo const * getTypeInfo () const
 RemotePort (types::TypeInfo const *type_info, CDataFlowInterface_ptr dataflow, std::string const &name, PortableServer::POA_ptr poa)
int serverProtocol () const

Protected Member Functions

bool connectionAdded (base::ChannelElementBase::shared_ptr channel, ConnPolicy const &policy)

Protected Attributes

CDataFlowInterface_var dataflow
PortableServer::POA_var mpoa
types::TypeInfo const * type_info

Detailed Description

template<typename PortClass>
class RTT::corba::RemotePort< PortClass >

Contains the common CORBA management code for proxy port objects representing ports available through CORBA.

A Remote port object is just a view (ie proxy) on a real port. This means that many remote port objects can point to the same real port and that destroying a remote port object does not lead to disconnection of the real port. All important functions are to be forwarded to the real port.

Definition at line 62 of file RemotePorts.hpp.


Constructor & Destructor Documentation

template<typename PortClass>
RemotePort::RemotePort ( types::TypeInfo const *  type_info,
CDataFlowInterface_ptr  dataflow,
std::string const &  name,
PortableServer::POA_ptr  poa 
)

Definition at line 55 of file RemotePorts.cpp.


Member Function Documentation

template<typename PortClass>
PortableServer::POA_ptr RemotePort::_default_POA ( )

Definition at line 89 of file RemotePorts.cpp.

template<typename PortClass>
bool RemotePort::addConnection ( internal::ConnID port_id,
base::ChannelElementBase::shared_ptr  channel_input,
RTT::ConnPolicy const &  policy 
) [virtual]

Reimplemented in RTT::corba::RemoteInputPort.

Definition at line 104 of file RemotePorts.cpp.

template<typename PortClass>
bool RemotePort::connected ( ) const

Definition at line 72 of file RemotePorts.cpp.

template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::connectionAdded ( base::ChannelElementBase::shared_ptr  channel,
ConnPolicy const &  policy 
) [inline, protected]

Definition at line 69 of file RemotePorts.hpp.

template<typename PortClass>
bool RemotePort::createStream ( const ConnPolicy policy)

Definition at line 97 of file RemotePorts.cpp.

template<typename PortClass>
void RemotePort::disconnect ( )

Definition at line 77 of file RemotePorts.cpp.

template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::disconnect ( base::PortInterface p)
template<typename PortClass>
CDataFlowInterface_ptr RemotePort::getDataFlowInterface ( ) const

Definition at line 65 of file RemotePorts.cpp.

template<typename PortClass>
RTT::internal::ConnID * RemotePort::getPortID ( ) const

Definition at line 93 of file RemotePorts.cpp.

template<typename PortClass>
RTT::types::TypeInfo const * RemotePort::getTypeInfo ( ) const

Definition at line 68 of file RemotePorts.cpp.

template<typename PortClass>
int RemotePort::serverProtocol ( ) const

Definition at line 70 of file RemotePorts.cpp.


Member Data Documentation

template<typename PortClass>
CDataFlowInterface_var RTT::corba::RemotePort< PortClass >::dataflow [protected]

Definition at line 66 of file RemotePorts.hpp.

template<typename PortClass>
PortableServer::POA_var RTT::corba::RemotePort< PortClass >::mpoa [protected]

Definition at line 67 of file RemotePorts.hpp.

template<typename PortClass>
types::TypeInfo const* RTT::corba::RemotePort< PortClass >::type_info [protected]

Definition at line 65 of file RemotePorts.hpp.


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