#include <CorbaTemplateProtocol.hpp>
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) |
CRemoteChannelElement_i * | createChannelElement_i (DataFlowInterface *sender, PortableServer::POA_ptr poa, bool is_pull) 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 |
For each transportable type T, specify the conversion functions.
Definition at line 59 of file CorbaTemplateProtocol.hpp.
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.
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.
virtual CORBA::Any* RTT::corba::CorbaTemplateProtocol< T >::createAny | ( | base::DataSourceBase::shared_ptr | source | ) | const [inline, virtual] |
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.
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createAttributeDataSource | ( | CService_ptr | serv, |
const std::string & | vname | ||
) | [inline, virtual] |
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 145 of file CorbaTemplateProtocol.hpp.
CRemoteChannelElement_i* RTT::corba::CorbaTemplateProtocol< T >::createChannelElement_i | ( | DataFlowInterface * | sender, |
PortableServer::POA_ptr | poa, | ||
bool | is_pull | ||
) | const [inline] |
Definition at line 72 of file CorbaTemplateProtocol.hpp.
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createDataSource | ( | const CORBA::Any * | any | ) | const [inline, virtual] |
Create a Data Source from an any.
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 107 of file CorbaTemplateProtocol.hpp.
virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaTemplateProtocol< T >::createPropertyDataSource | ( | CService_ptr | serv, |
const std::string & | vname | ||
) | [inline, 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.
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 141 of file CorbaTemplateProtocol.hpp.
virtual bool RTT::corba::CorbaTemplateProtocol< T >::updateAny | ( | base::DataSourceBase::shared_ptr | source, |
CORBA::Any & | any | ||
) | const [inline, virtual] |
Update a transportable object for a protocol which contains the value of source.
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 94 of file CorbaTemplateProtocol.hpp.
virtual bool RTT::corba::CorbaTemplateProtocol< T >::updateFromAny | ( | const CORBA::Any * | any, |
base::DataSourceBase::shared_ptr | target | ||
) | const [inline, virtual] |
Update target with the contents of any which is an object of a protocol.
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 118 of file CorbaTemplateProtocol.hpp.