Orocos Real-Time Toolkit  2.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
RTT::corba::RemotePort< PortClass > Class Template Reference

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

#include <rtt/transports/corba/RemotePorts.hpp>

List of all members.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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.


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