For each transportable type T, specify the conversion functions. More...
#include <rtt/corba/CorbaTemplateProtocol.hpp>
Public Types | |
typedef T | UserType |
The given T parameter is the type for reading DataSources. | |
typedef Property< T > ::DataSourceType | PropertyType |
When Properties of T are constructed, they are non-const, non-reference. | |
Public Member Functions | |
virtual void * | createBlob (DataSourceBase::shared_ptr source) const |
Create an transportable object for a protocol which contains the value of source. | |
virtual bool | updateBlob (const void *blob, DataSourceBase::shared_ptr target) const |
Update target with the contents of blob which is an object of a protocol. | |
virtual DataSourceBase * | proxy (void *data) const |
Create a DataSource which is a proxy for a remote object. | |
virtual void * | server (DataSourceBase::shared_ptr source, bool assignable, void *arg) const |
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 |
Create a server for a local method. | |
virtual DataSourceBase * | narrowDataSource (DataSourceBase *dsb) |
Narrows a remote data source object or proxy to this type. | |
virtual DataSourceBase * | narrowAssignableDataSource (DataSourceBase *dsb) |
Narrows a remote assignable data source object or proxy to this type. | |
virtual DataSourceBase * | dataProxy (PortInterface *data) const |
Returns a new DataObject<T> object mirroring a remote data object server. | |
virtual DataSourceBase * | dataProxy (void *data) const |
virtual void * | dataServer (DataSourceBase::shared_ptr source, void *arg) const |
virtual BufferBase * | bufferProxy (PortInterface *data) const |
Returns a new BufferInterface<T> object mirroring a remote buffer object server. | |
virtual BufferBase * | bufferProxy (void *data) const |
virtual void * | bufferServer (BufferBase::shared_ptr source, void *arg) const |
For each transportable type T, specify the conversion functions.
Definition at line 71 of file CorbaTemplateProtocol.hpp.
virtual BufferBase* RTT::detail::CorbaTemplateProtocol< T >::bufferProxy | ( | PortInterface * | data | ) | const [inline, virtual] |
Returns a new BufferInterface<T> object mirroring a remote buffer object server.
Used to setup a Corba Data Flow.
Implements RTT::detail::TypeTransporter.
Definition at line 208 of file CorbaTemplateProtocol.hpp.
virtual DataSourceBase* RTT::detail::CorbaTemplateProtocol< T >::dataProxy | ( | PortInterface * | data | ) | const [inline, virtual] |
Returns a new DataObject<T> object mirroring a remote data object server.
Used to setup a Corba Data Flow.
Implements RTT::detail::TypeTransporter.
Definition at line 180 of file CorbaTemplateProtocol.hpp.
virtual void* RTT::detail::CorbaTemplateProtocol< T >::method | ( | DataSourceBase::shared_ptr | source, | |
MethodC * | orig, | |||
void * | arg | |||
) | const [inline, virtual] |
Create a server for a local method.
Used to export local methods to a network.
Implements RTT::detail::TypeTransporter.
Definition at line 142 of file CorbaTemplateProtocol.hpp.
virtual DataSourceBase* RTT::detail::CorbaTemplateProtocol< T >::narrowAssignableDataSource | ( | DataSourceBase * | dsb | ) | [inline, virtual] |
Narrows a remote assignable data source object or proxy to this type.
Used internally to determine the type of a remote object.
Implements RTT::detail::TypeTransporter.
Definition at line 169 of file CorbaTemplateProtocol.hpp.
virtual DataSourceBase* RTT::detail::CorbaTemplateProtocol< T >::narrowDataSource | ( | DataSourceBase * | dsb | ) | [inline, virtual] |
Narrows a remote data source object or proxy to this type.
Used internally to determine the type of a remote object.
Implements RTT::detail::TypeTransporter.
Definition at line 148 of file CorbaTemplateProtocol.hpp.
virtual void* RTT::detail::CorbaTemplateProtocol< T >::server | ( | DataSourceBase::shared_ptr | source, | |
bool | assignable, | |||
void * | arg | |||
) | const [inline, virtual] |
Create a server for a DataSource, which can be picked up by a proxy.
Used to export local data to a network.
Implements RTT::detail::TypeTransporter.
Definition at line 131 of file CorbaTemplateProtocol.hpp.