#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 |
Hence, this class uses always the same base class (Expression_ptr) to communicate with the TypeTransport interface. Such that we know that when we receive a (void*) it came from an (Expression_ptr) and vice versa.
Don't obey this and you'll get immediate hard to dissect crashes ! * * * B I G N O T E * * * *
Definition at line 75 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 212 of file CorbaTemplateProtocol.hpp.
References RTT::Corba::CorbaPort::getBufferChannel().
| 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 184 of file CorbaTemplateProtocol.hpp.
References RTT::Corba::CorbaPort::getDataChannel().
| 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 146 of file CorbaTemplateProtocol.hpp.
References RTT::Corba::ExpressionServer::CreateMethod().
| 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 173 of file CorbaTemplateProtocol.hpp.
References RTT::DataSourceBase::getTypeName(), RTT::DataSourceBase::server(), and RTT::DataSourceBase::serverProtocol().
| 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 152 of file CorbaTemplateProtocol.hpp.
References RTT::DataSource< T >::get(), RTT::DataSourceBase::getType(), RTT::DataSourceBase::getTypeName(), RTT::Logger::log(), RTT::DataSourceBase::server(), and RTT::DataSourceBase::serverProtocol().
| 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 135 of file CorbaTemplateProtocol.hpp.
References RTT::Corba::ExpressionServer::CreateAssignableExpression(), and RTT::Corba::ExpressionServer::CreateExpression().
1.5.8