RTT::corba::RemotePort< PortClass > Class Template Reference

#include <RemotePorts.hpp>

List of all members.

Public Member Functions

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

Protected Member Functions

bool connectionAdded (base::ChannelElementBase::shared_ptr channel, ConnPolicy const &policy)
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 install/include/rtt/transports/corba/RemotePorts.hpp.


Constructor & Destructor Documentation

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

Member Function Documentation

template<typename PortClass>
PortableServer::POA_ptr RTT::corba::RemotePort< PortClass >::_default_POA (  ) 
template<typename PortClass>
PortableServer::POA_ptr RTT::corba::RemotePort< PortClass >::_default_POA (  ) 
template<typename PortClass>
virtual bool RTT::corba::RemotePort< PortClass >::addConnection ( internal::ConnID port_id,
base::ChannelElementBase::shared_ptr  channel_input,
ConnPolicy const &  policy 
) [virtual]
template<typename PortClass>
virtual bool RTT::corba::RemotePort< PortClass >::addConnection ( internal::ConnID port_id,
base::ChannelElementBase::shared_ptr  channel_input,
ConnPolicy const &  policy 
) [virtual]
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::connected (  )  const
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::connected (  )  const
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 rtt/transports/corba/RemotePorts.hpp.

template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::connectionAdded ( base::ChannelElementBase::shared_ptr  channel,
ConnPolicy const &  policy 
) [inline, protected]
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::createStream ( const ConnPolicy policy  ) 
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::createStream ( const ConnPolicy policy  ) 
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::disconnect ( base::PortInterface p  ) 
template<typename PortClass>
void RTT::corba::RemotePort< PortClass >::disconnect (  ) 
template<typename PortClass>
bool RTT::corba::RemotePort< PortClass >::disconnect ( base::PortInterface p  ) 
template<typename PortClass>
void RTT::corba::RemotePort< PortClass >::disconnect (  ) 
template<typename PortClass>
CDataFlowInterface_ptr RTT::corba::RemotePort< PortClass >::getDataFlowInterface (  )  const
template<typename PortClass>
CDataFlowInterface_ptr RTT::corba::RemotePort< PortClass >::getDataFlowInterface (  )  const
template<typename PortClass>
internal::ConnID* RTT::corba::RemotePort< PortClass >::getPortID (  )  const
template<typename PortClass>
internal::ConnID* RTT::corba::RemotePort< PortClass >::getPortID (  )  const
template<typename PortClass>
types::TypeInfo const* RTT::corba::RemotePort< PortClass >::getTypeInfo (  )  const
template<typename PortClass>
types::TypeInfo const* RTT::corba::RemotePort< PortClass >::getTypeInfo (  )  const
template<typename PortClass>
int RTT::corba::RemotePort< PortClass >::serverProtocol (  )  const
template<typename PortClass>
int RTT::corba::RemotePort< PortClass >::serverProtocol (  )  const

Member Data Documentation

template<typename PortClass>
CDataFlowInterface_var RTT::corba::RemotePort< PortClass >::dataflow [protected]
template<typename PortClass>
PortableServer::POA_var RTT::corba::RemotePort< PortClass >::mpoa [protected]
template<typename PortClass>
types::TypeInfo const * RTT::corba::RemotePort< PortClass >::type_info [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:49:55 2013