Public Types | Public Member Functions | List of all members
RTT::corba::CorbaTemplateProtocol< T > Class Template Reference

#include <CorbaTemplateProtocol.hpp>

Inheritance diagram for RTT::corba::CorbaTemplateProtocol< T >:
Inheritance graph
[legend]

Public Types

typedef Property< T >::DataSourceType PropertyType
 
typedef T UserType
 

Public Member Functions

virtual CORBA::Any * createAny (base::DataSourceBase::shared_ptr source) const
 
virtual base::DataSourceBase::shared_ptr createAttributeDataSource (CService_ptr serv, const std::string &vname, bool is_assignable)
 
CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *sender, PortableServer::POA_ptr poa, const ConnPolicy &policy) const
 
virtual base::DataSourceBase::shared_ptr createDataSource (const CORBA::Any *any) const
 
virtual base::DataSourceBase::shared_ptr createPropertyDataSource (CService_ptr serv, const std::string &vname)
 
virtual bool updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const
 
virtual bool updateFromAny (const CORBA::Any *any, base::DataSourceBase::shared_ptr target) const
 
- Public Member Functions inherited from RTT::corba::CorbaTypeTransporter
virtual CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *sender,::PortableServer::POA *poa, const ConnPolicy &policy) const =0
 
virtual base::ChannelElementBase::shared_ptr createStream (base::PortInterface *, const ConnPolicy &, bool) const
 
- Public Member Functions inherited from RTT::types::TypeTransporter
virtual ~TypeTransporter ()
 

Detailed Description

template<class T>
class RTT::corba::CorbaTemplateProtocol< T >

For each transportable type T, specify the conversion functions.

Definition at line 59 of file CorbaTemplateProtocol.hpp.

Member Typedef Documentation

template<class T >
typedef Property<T>::DataSourceType RTT::corba::CorbaTemplateProtocol< T >::PropertyType

When Properties of T are constructed, they are non-const, non-reference.

Definition at line 70 of file CorbaTemplateProtocol.hpp.

template<class T >
typedef T RTT::corba::CorbaTemplateProtocol< T >::UserType

The given T parameter is the type for reading DataSources.

Definition at line 66 of file CorbaTemplateProtocol.hpp.

Member Function Documentation

template<class T >
virtual CORBA::Any* RTT::corba::CorbaTemplateProtocol< T >::createAny ( base::DataSourceBase::shared_ptr  source) const
inlinevirtual

Create an transportable object for a protocol which contains the value of source.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 78 of file CorbaTemplateProtocol.hpp.

template<class T >
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createAttributeDataSource ( CService_ptr  serv,
const std::string &  vname,
bool  is_assignable 
)
inlinevirtual

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 131 of file CorbaTemplateProtocol.hpp.

template<class T >
CRemoteChannelElement_i* RTT::corba::CorbaTemplateProtocol< T >::createChannelElement_i ( DataFlowInterface sender,
PortableServer::POA_ptr  poa,
const ConnPolicy policy 
) const
inline

Definition at line 72 of file CorbaTemplateProtocol.hpp.

template<class T >
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createDataSource ( const CORBA::Any *  any) const
inlinevirtual

Create a Data Source from an any.

Returns
null if no conversion could be made.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 103 of file CorbaTemplateProtocol.hpp.

template<class T >
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createPropertyDataSource ( CService_ptr  serv,
const std::string &  vname 
)
inlinevirtual

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.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 127 of file CorbaTemplateProtocol.hpp.

template<class T >
virtual bool RTT::corba::CorbaTemplateProtocol< T >::updateAny ( base::DataSourceBase::shared_ptr  source,
CORBA::Any &  any 
) const
inlinevirtual

Update a transportable object for a protocol which contains the value of source.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 92 of file CorbaTemplateProtocol.hpp.

template<class T >
virtual bool RTT::corba::CorbaTemplateProtocol< T >::updateFromAny ( const CORBA::Any *  any,
base::DataSourceBase::shared_ptr  target 
) const
inlinevirtual

Update target with the contents of any which is an object of a protocol.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 114 of file CorbaTemplateProtocol.hpp.


The documentation for this class was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:42