Orocos Real-Time Toolkit
2.9.0
|
Extends the TypeTransporter in order to allow the creation of channel elements or output halves for a given type. More...
#include <rtt/transports/corba/CorbaTypeTransporter.hpp>
Public Member Functions | |
virtual CORBA::Any_ptr | createAny (base::DataSourceBase::shared_ptr source) const =0 |
Evaluate source and create an any which contains the value of source. More... | |
virtual bool | updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const =0 |
Evaluate source and update an any which contains the value of source. More... | |
virtual base::DataSourceBase::shared_ptr | createDataSource (const CORBA::Any *any) const =0 |
Create a Data Source from an any. More... | |
virtual bool | updateFromAny (const CORBA::Any *blob, base::DataSourceBase::shared_ptr target) const =0 |
Update an assignable datasource target with the contents of blob. More... | |
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... | |
virtual base::DataSourceBase::shared_ptr | createPropertyDataSource (CService_ptr serv, const std::string &vname)=0 |
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)=0 |
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.
|
pure virtual |
Evaluate source and create an any which contains the value of source.
Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.
Referenced by RTT_corba_COperationInterface_i::callOperation(), RTT_corba_CConfigurationInterface_i::getAttribute(), RTT_corba_CConfigurationInterface_i::getProperty(), RTT::corba::RemoteChannelElement< T >::read(), RTT_corba_CSendHandle_i::ret(), and RTT::corba::ValueDataSourceProxy< T >::set().
|
pure virtual |
Implemented in RTT::corba::CorbaFallBackProtocol, and RTT::corba::CorbaTemplateProtocol< T >.
Referenced by RTT::corba::TaskContextProxy::synchronizeServices().
|
pure virtual |
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().
|
pure virtual |
Create a Data Source from an any.
Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.
Referenced by RTT_corba_COperationInterface_i::callOperation(), RTT_corba_CSendHandle_i::checkArguments(), and RTT_corba_COperationInterface_i::checkOperation().
|
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::CorbaFallBackProtocol, and RTT::corba::CorbaTemplateProtocol< T >.
Referenced by RTT::corba::TaskContextProxy::synchronizeServices().
|
virtual |
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.
|
pure virtual |
Evaluate source and update an any which contains the value of source.
Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.
Referenced by RTT_corba_COperationInterface_i::callOperation(), RTT::corba::CorbaOperationCallerFactory::produce(), RTT::corba::CorbaOperationCallerFactory::produceCollect(), RTT::corba::CorbaOperationCallerFactory::produceSend(), sourcevector_to_anysequence(), and RTT::corba::RemoteChannelElement< T >::write().
|
pure virtual |
Update an assignable datasource target with the contents of blob.
Implemented in RTT::corba::CorbaTemplateProtocol< T >, and RTT::corba::CorbaFallBackProtocol.
Referenced by RTT::corba::DataSourceProxy< T >::get(), RTT::corba::ValueDataSourceProxy< T >::get(), CorbaOperationCallerCollect::get(), RTT::corba::RemoteChannelElement< T >::read(), RTT_corba_CConfigurationInterface_i::setAttribute(), RTT_corba_CConfigurationInterface_i::setProperty(), and RTT::corba::RemoteChannelElement< T >::write().