Orocos Real-Time Toolkit  2.6.0
Public Member Functions
RTT::corba::CorbaFallBackProtocol Class Reference

This protocol is used for all types which did not get a protocol. More...

Inheritance diagram for RTT::corba::CorbaFallBackProtocol:
RTT::corba::CorbaTypeTransporter RTT::types::TypeTransporter

List of all members.

Public Member Functions

 CorbaFallBackProtocol (bool do_warn=true)
virtual CORBA::Any * createAny (DataSourceBase::shared_ptr source) const
 Evaluate source and create an any which contains the value of source.
virtual bool updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const
 Evaluate source and update an any which contains the value of source.
virtual
base::DataSourceBase::shared_ptr 
createDataSource (const CORBA::Any *any) const
 Create a Data Source from an any.
virtual bool updateFromAny (const CORBA::Any *blob, DataSourceBase::shared_ptr target) const
 Update target with the contents of blob which is an object of a protocol.
virtual
ChannelElementBase::shared_ptr 
createStream (base::PortInterface *port, const ConnPolicy &policy, bool is_sender) const
 The CORBA transport does not support creating 'CORBA' streams.
virtual base::ChannelElementBasebuildDataStorage (ConnPolicy const &policy) const
virtual CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *,::PortableServer::POA *poa, bool) const
 Builds a channel element for remote transport in both directions.
virtual base::ChannelElementBasebuildChannelOutput (base::InputPortInterface &port, ConnPolicy const &policy) const
virtual base::ChannelElementBasebuildChannelInput (base::OutputPortInterface &port, ConnPolicy const &policy) const
virtual
base::DataSourceBase::shared_ptr 
createPropertyDataSource (CService_ptr serv, const std::string &vname)
 Create a data source for an attribute or property.
virtual
base::DataSourceBase::shared_ptr 
createAttributeDataSource (CService_ptr serv, const std::string &vname)

Detailed Description

This protocol is used for all types which did not get a protocol.

Specifically, if the type is UnknownType.

Definition at line 64 of file CorbaLib.cpp.


Member Function Documentation

virtual CRemoteChannelElement_i* RTT::corba::CorbaFallBackProtocol::createChannelElement_i ( DataFlowInterface sender,
::PortableServer::POA *  poa,
bool  is_pull 
) const [inline, 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.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 115 of file CorbaLib.cpp.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaFallBackProtocol::createDataSource ( const CORBA::Any *  any) const [inline, virtual]

Create a Data Source from an any.

Returns:
null if no conversion could be made.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 90 of file CorbaLib.cpp.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaFallBackProtocol::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 135 of file CorbaLib.cpp.

virtual ChannelElementBase::shared_ptr RTT::corba::CorbaFallBackProtocol::createStream ( base::PortInterface ,
const ConnPolicy p,
bool   
) const [inline, virtual]

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

Returns:
null

Reimplemented from RTT::corba::CorbaTypeTransporter.

Definition at line 107 of file CorbaLib.cpp.

References RTT::base::PortInterface::getName().


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