#include <RemotePorts.hpp>
Public Member Functions | |
base::PortInterface * | antiClone () const |
base::PortInterface * | clone () 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) |
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.
RemoteOutputPort::RemoteOutputPort | ( | types::TypeInfo const * | type_info, |
CDataFlowInterface_ptr | dataflow, | ||
std::string const & | name, | ||
PortableServer::POA_ptr | poa | ||
) |
Definition at line 222 of file RemotePorts.cpp.
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 273 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 270 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 239 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 234 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.
Implements RTT::base::OutputPortInterface.
Definition at line 231 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 228 of file RemotePorts.cpp.