Public Member Functions
RTT::corba::RemoteOutputPort Class Reference

#include <RemotePorts.hpp>

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

List of all members.

Public Member Functions

base::PortInterfaceantiClone () const
base::PortInterfaceclone () const
bool createConnection (base::InputPortInterface &sink, ConnPolicy const &policy)
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)

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 96 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 223 of file RemotePorts.cpp.


Member Function Documentation

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 278 of file RemotePorts.cpp.

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 275 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 240 of file RemotePorts.cpp.

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 235 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 232 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 229 of file RemotePorts.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:19