Public Member Functions | List of all members
RTT::corba::RemoteOutputPort Class Reference

#include <RemotePorts.hpp>

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

Public Member Functions

base::PortInterfaceantiClone () const
 
base::PortInterfaceclone () const
 
bool createConnection (base::InputPortInterface &sink, ConnPolicy const &policy)
 
virtual bool disconnect (PortInterface *port)
 
virtual base::DataSourceBase::shared_ptr getDataSource () const
 
void keepLastWrittenValue (bool new_flag)
 
bool keepsLastWrittenValue () const
 
 RemoteOutputPort (types::TypeInfo const *type_info, CDataFlowInterface_ptr dataflow, std::string const &name, PortableServer::POA_ptr poa)
 
- Public Member Functions inherited from RTT::corba::RemotePort< base::OutputPortInterface >
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)
 
virtual void disconnect ()
 
CDataFlowInterface_ptr getDataFlowInterface () const
 
base::ChannelElementBasegetEndpoint () 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
 
- Public Member Functions inherited from RTT::base::OutputPortInterface
virtual bool connectTo (PortInterface *other, ConnPolicy const &policy)
 
virtual bool connectTo (PortInterface *other)
 
bool createBufferConnection (InputPortInterface &sink, int size, int lock_policy=ConnPolicy::LOCK_FREE)
 
bool createConnection (InputPortInterface &sink)
 
virtual bool createConnection (internal::SharedConnectionBase::shared_ptr shared_connection, ConnPolicy const &policy=ConnPolicy())
 
bool createDataConnection (InputPortInterface &sink, int lock_policy=ConnPolicy::LOCK_FREE)
 
 OutputPortInterface (std::string const &name)
 
void traceWrite ()
 
virtual WriteStatus write (DataSourceBase::shared_ptr source)
 
virtual ~OutputPortInterface ()
 
- Public Member Functions inherited from RTT::base::PortInterface
virtual bool connectedTo (PortInterface *port)
 
virtual ServicecreatePortObject ()
 
PortInterfacedoc (const std::string &desc)
 
const std::string & getDescription () const
 
const std::string & getFullName () const
 
DataFlowInterfacegetInterface () const
 
virtual internal::ConnectionManagergetManager ()
 
const std::string & getName () const
 
virtual internal::SharedConnectionBase::shared_ptr getSharedConnection () const
 
virtual bool isLocal () const
 
virtual bool removeConnection (internal::ConnID *cid)
 
void setInterface (DataFlowInterface *iface)
 
bool setName (const std::string &name)
 
virtual ~PortInterface ()
 

Additional Inherited Members

- Protected Member Functions inherited from RTT::corba::RemotePort< base::OutputPortInterface >
bool connectionAdded (base::ChannelElementBase::shared_ptr channel, ConnPolicy const &policy)
 
- Protected Member Functions inherited from RTT::base::OutputPortInterface
 OutputPortInterface (OutputPortInterface const &orig)
 
- Protected Member Functions inherited from RTT::base::PortInterface
 PortInterface (const std::string &name)
 
- Protected Attributes inherited from RTT::corba::RemotePort< base::OutputPortInterface >
CDataFlowInterface_var dataflow
 
PortableServer::POA_var mpoa
 
types::TypeInfo const * type_info
 
- Protected Attributes inherited from RTT::base::PortInterface
internal::ConnectionManager cmanager
 
os::MutexRecursive connection_lock
 
DataFlowInterfaceiface
 

Detailed Description

Proxy for a remote output port. Allows for creation of a connection from the remote port to a local input port.

Definition at line 97 of file RemotePorts.hpp.

Constructor & Destructor Documentation

RemoteOutputPort::RemoteOutputPort ( types::TypeInfo const *  type_info,
CDataFlowInterface_ptr  dataflow,
std::string const &  name,
PortableServer::POA_ptr  poa 
)

Definition at line 238 of file RemotePorts.cpp.

Member Function Documentation

RTT::base::PortInterface * RemoteOutputPort::antiClone ( ) const
virtual

Create a local clone of this port with the same name. If this port is a local port, this is an object of the inverse direction (read for write and write for read), and same name. If this object is a remote port, then it is a local port of the inverse direction and with the same name.

Implements RTT::base::PortInterface.

Definition at line 315 of file RemotePorts.cpp.

RTT::base::PortInterface * RemoteOutputPort::clone ( ) const
virtual

Create a local clone of this port with the same name. If this port is a local port, this is an object of the same type and same name. If this object is a remote port, then it is a local port of the same type and same name.

Implements RTT::base::PortInterface.

Definition at line 312 of file RemotePorts.cpp.

bool RemoteOutputPort::createConnection ( base::InputPortInterface sink,
ConnPolicy const &  policy 
)
virtual

Connects this write port to the given read port, using the given connection policy.

Implements RTT::base::OutputPortInterface.

Definition at line 275 of file RemotePorts.cpp.

bool RemoteOutputPort::disconnect ( PortInterface port)
virtual

Removes the channel that connects this port to port

Reimplemented from RTT::base::OutputPortInterface.

Definition at line 256 of file RemotePorts.cpp.

DataSourceBase::shared_ptr RemoteOutputPort::getDataSource ( ) const
virtual

Returns a Data source that stores the last written value, or a null pointer if this port does not keep its last written value.

Implements RTT::base::OutputPortInterface.

Definition at line 250 of file RemotePorts.cpp.

void RemoteOutputPort::keepLastWrittenValue ( bool  new_flag)
virtual

Change the setting for keeping the last written value. Setting this to false will clear up any unneeded storage. If set, this port can initialize new connections with a data sample and allows real-time data transport of dynamically sized objects over its newly created connections.

See also
OutputPort::OutputPort.

Implements RTT::base::OutputPortInterface.

Definition at line 247 of file RemotePorts.cpp.

bool RemoteOutputPort::keepsLastWrittenValue ( ) const
virtual

Returns true if this port records the last written value.

Implements RTT::base::OutputPortInterface.

Definition at line 244 of file RemotePorts.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46