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

#include <CorbaTypeTransporter.hpp>

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

List of all members.

Public Member Functions

virtual CORBA::Any_ptr createAny (base::DataSourceBase::shared_ptr source) const =0
virtual
base::DataSourceBase::shared_ptr 
createAttributeDataSource (CService_ptr serv, const std::string &vname)=0
virtual CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *sender,::PortableServer::POA *poa, bool is_pull) const =0
virtual
base::DataSourceBase::shared_ptr 
createDataSource (const CORBA::Any *any) const =0
virtual
base::DataSourceBase::shared_ptr 
createPropertyDataSource (CService_ptr serv, const std::string &vname)=0
virtual
base::ChannelElementBase::shared_ptr 
createStream (base::PortInterface *, const ConnPolicy &, bool) const
virtual bool updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const =0
virtual bool updateFromAny (const CORBA::Any *blob, base::DataSourceBase::shared_ptr target) const =0

Detailed Description

Extends the TypeTransporter in order to allow the creation of channel elements or output halves for a given type.

Definition at line 56 of file CorbaTypeTransporter.hpp.


Member Function Documentation

Evaluate source and create an any which contains the value of source.

Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTypeTransporter::createAttributeDataSource ( CService_ptr  serv,
const std::string &  vname 
) [pure virtual]
virtual CRemoteChannelElement_i* RTT::corba::CorbaTypeTransporter::createChannelElement_i ( DataFlowInterface sender,
::PortableServer::POA *  poa,
bool  is_pull 
) const [pure virtual]

Builds a channel element for remote transport in both directions.

Parameters:
senderThe data flow interface which will be sending or receiving this channel.
poaThe POA to manage the server code.
Returns:
the created CChannelElement_i.

Implemented in RTT::corba::CorbaFallBackProtocol.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTypeTransporter::createDataSource ( const CORBA::Any *  any) const [pure virtual]

Create a Data Source from an any.

Returns:
null if no conversion could be made.

Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTypeTransporter::createPropertyDataSource ( CService_ptr  serv,
const std::string &  vname 
) [pure virtual]

Create a data source for an attribute or property. Will create an assignable data source when the property or attribute can be changed, a normal data source otherwise.

Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.

The CORBA transport does not support creating 'CORBA' streams.

Returns:
null

Implements RTT::types::TypeTransporter.

Reimplemented in RTT::corba::CorbaFallBackProtocol.

Definition at line 52 of file CorbaTypeTransporter.cpp.

virtual bool RTT::corba::CorbaTypeTransporter::updateAny ( base::DataSourceBase::shared_ptr  source,
CORBA::Any &  any 
) const [pure virtual]

Evaluate source and update an any which contains the value of source.

Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.

virtual bool RTT::corba::CorbaTypeTransporter::updateFromAny ( const CORBA::Any *  blob,
base::DataSourceBase::shared_ptr  target 
) const [pure virtual]

Update an assignable datasource target with the contents of blob.

Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.


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