Orocos Real-Time Toolkit
2.9.0
|
For each transportable type T, specify the conversion functions. More...
#include <rtt/transports/corba/CorbaTemplateProtocol.hpp>
Public Types | |
typedef T | UserType |
The given T parameter is the type for reading DataSources. More... | |
typedef Property< T >::DataSourceType | PropertyType |
When Properties of T are constructed, they are non-const, non-reference. More... | |
Public Member Functions | |
CRemoteChannelElement_i * | createChannelElement_i (DataFlowInterface *sender, PortableServer::POA_ptr poa, const ConnPolicy &policy) const |
virtual CORBA::Any * | createAny (base::DataSourceBase::shared_ptr source) const |
Create an transportable object for a protocol which contains the value of source. More... | |
virtual bool | updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const |
Update a transportable object for a protocol which contains the value of source. More... | |
virtual base::DataSourceBase::shared_ptr | createDataSource (const CORBA::Any *any) const |
Create a Data Source from an any. More... | |
virtual bool | updateFromAny (const CORBA::Any *any, base::DataSourceBase::shared_ptr target) const |
Update target with the contents of any which is an object of a protocol. More... | |
virtual base::DataSourceBase::shared_ptr | createPropertyDataSource (CService_ptr serv, const std::string &vname) |
Create a data source for an attribute or property. More... | |
virtual base::DataSourceBase::shared_ptr | createAttributeDataSource (CService_ptr serv, const std::string &vname, bool is_assignable) |
virtual CRemoteChannelElement_i * | createChannelElement_i (DataFlowInterface *sender,::PortableServer::POA *poa, const ConnPolicy &policy) const =0 |
Builds a channel element for remote transport in both directions. More... | |
virtual base::ChannelElementBase::shared_ptr | createStream (base::PortInterface *, const ConnPolicy &, bool) const |
The CORBA transport does not support creating 'CORBA' streams. More... | |
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.
|
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.
References RTT::corba::AnyConversion< Type >::createAny(), RTT::internal::DataSource< T >::evaluate(), RTT::internal::DataSource< T >::narrow(), and RTT::internal::DataSource< T >::rvalue().
|
inlinevirtual |
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 131 of file CorbaTemplateProtocol.hpp.
|
inline |
Definition at line 72 of file CorbaTemplateProtocol.hpp.
|
pure virtualinherited |
Builds a channel element for remote transport in both directions.
sender | The data flow interface which will be sending or receiving this channel. |
poa | The POA to manage the server code. |
Implemented in RTT::corba::CorbaFallBackProtocol.
Referenced by RTT::corba::CDataFlowInterface_i::deregisterChannel().
|
inlinevirtual |
Create a Data Source from an any.
Implements RTT::corba::CorbaTypeTransporter.
Definition at line 103 of file CorbaTemplateProtocol.hpp.
References RTT::corba::CorbaTemplateProtocol< T >::updateFromAny().
|
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.
|
virtualinherited |
The CORBA transport does not support creating 'CORBA' streams.
Implements RTT::types::TypeTransporter.
Reimplemented in RTT::corba::CorbaFallBackProtocol.
Definition at line 52 of file CorbaTypeTransporter.cpp.
|
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.
References RTT::internal::DataSource< T >::evaluate(), RTT::internal::DataSource< T >::narrow(), RTT::internal::DataSource< T >::rvalue(), and RTT::corba::AnyConversion< Type >::updateAny().
|
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.
References RTT::internal::AssignableDataSource< T >::narrow(), RTT::internal::AssignableDataSource< T >::set(), and RTT::base::DataSourceBase::updated().
Referenced by RTT::corba::CorbaTemplateProtocol< T >::createDataSource().