This interface defines the function a transport protocol must support in order to allow Orocos components to remotely communicate data. More...
#include <rtt/TypeTransporter.hpp>
Public Member Functions | |
virtual void * | createBlob (DataSourceBase::shared_ptr source) const =0 |
Create an transportable object for a protocol which contains the value of source. | |
virtual bool | updateBlob (const void *blob, DataSourceBase::shared_ptr target) const =0 |
Update target with the contents of blob which is an object of a protocol. | |
virtual DataSourceBase * | proxy (void *data) const =0 |
Create a DataSource which is a proxy for a remote server object. | |
virtual void * | server (DataSourceBase::shared_ptr source, bool assignable, void *arg) const =0 |
Create a server for a DataSource, which can be picked up by a proxy. | |
virtual void * | method (DataSourceBase::shared_ptr source, MethodC *orig, void *arg) const =0 |
Create a server for a local method. | |
virtual DataSourceBase * | dataProxy (PortInterface *data) const =0 |
Returns a new DataObject<T> object mirroring a remote data object server. | |
virtual DataSourceBase * | dataProxy (void *data) const =0 |
virtual void * | dataServer (DataSourceBase::shared_ptr source, void *arg) const =0 |
virtual BufferBase * | bufferProxy (PortInterface *data) const =0 |
Returns a new BufferInterface<T> object mirroring a remote buffer object server. | |
virtual BufferBase * | bufferProxy (void *data) const =0 |
virtual void * | bufferServer (BufferBase::shared_ptr source, void *arg) const =0 |
virtual DataSourceBase * | narrowDataSource (DataSourceBase *dsb)=0 |
Narrows a remote data source object or proxy to this type. | |
virtual DataSourceBase * | narrowAssignableDataSource (DataSourceBase *dsb)=0 |
Narrows a remote assignable data source object or proxy to this type. |
This interface defines the function a transport protocol must support in order to allow Orocos components to remotely communicate data.
Definition at line 62 of file TypeTransporter.hpp.
virtual BufferBase* RTT::detail::TypeTransporter::bufferProxy | ( | PortInterface * | data | ) | const [pure virtual] |
Returns a new BufferInterface<T> object mirroring a remote buffer object server.
Used to setup a Corba Data Flow.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
virtual DataSourceBase* RTT::detail::TypeTransporter::dataProxy | ( | PortInterface * | data | ) | const [pure virtual] |
Returns a new DataObject<T> object mirroring a remote data object server.
Used to setup a Corba Data Flow.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
virtual void* RTT::detail::TypeTransporter::method | ( | DataSourceBase::shared_ptr | source, | |
MethodC * | orig, | |||
void * | arg | |||
) | const [pure virtual] |
Create a server for a local method.
Used to export local methods to a network.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
virtual DataSourceBase* RTT::detail::TypeTransporter::narrowAssignableDataSource | ( | DataSourceBase * | dsb | ) | [pure virtual] |
Narrows a remote assignable data source object or proxy to this type.
Used internally to determine the type of a remote object.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
Referenced by RTT::AssignableDataSource< T >::narrow().
virtual DataSourceBase* RTT::detail::TypeTransporter::narrowDataSource | ( | DataSourceBase * | dsb | ) | [pure virtual] |
Narrows a remote data source object or proxy to this type.
Used internally to determine the type of a remote object.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
Referenced by RTT::DataSource< T >::narrow().
virtual DataSourceBase* RTT::detail::TypeTransporter::proxy | ( | void * | data | ) | const [pure virtual] |
Create a DataSource which is a proxy for a remote server object.
Used to read/write remote attributes, properties and general data over a network.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
virtual void* RTT::detail::TypeTransporter::server | ( | DataSourceBase::shared_ptr | source, | |
bool | assignable, | |||
void * | arg | |||
) | const [pure virtual] |
Create a server for a DataSource, which can be picked up by a proxy.
Used to export local data to a network.
Implemented in RTT::detail::CorbaTemplateProtocol< T >.
Referenced by RTT::AssignableDataSource< T >::server().