Public Member Functions | Private Attributes
RTT::corba::CorbaFallBackProtocol Class Reference
Inheritance diagram for RTT::corba::CorbaFallBackProtocol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual base::ChannelElementBasebuildChannelInput (base::OutputPortInterface &port, ConnPolicy const &policy) const
virtual base::ChannelElementBasebuildChannelOutput (base::InputPortInterface &port, ConnPolicy const &policy) const
virtual base::ChannelElementBasebuildDataStorage (ConnPolicy const &policy) const
 CorbaFallBackProtocol (bool do_warn=true)
virtual CORBA::Any * createAny (DataSourceBase::shared_ptr source) const
virtual
base::DataSourceBase::shared_ptr 
createAttributeDataSource (CService_ptr serv, const std::string &vname)
virtual CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *,::PortableServer::POA *poa, bool) 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
ChannelElementBase::shared_ptr 
createStream (base::PortInterface *port, const ConnPolicy &policy, bool is_sender) const
virtual bool updateAny (base::DataSourceBase::shared_ptr source, CORBA::Any &any) const
virtual bool updateFromAny (const CORBA::Any *blob, DataSourceBase::shared_ptr target) const

Private Attributes

bool warn

Detailed Description

This protocol is used for all types which did not get a protocol. Specifically, if the type is UnknownType.

Definition at line 67 of file CorbaLib.cpp.


Constructor & Destructor Documentation

Definition at line 72 of file CorbaLib.cpp.


Member Function Documentation

Definition at line 132 of file CorbaLib.cpp.

Definition at line 125 of file CorbaLib.cpp.

virtual base::ChannelElementBase* RTT::corba::CorbaFallBackProtocol::buildDataStorage ( ConnPolicy const &  policy) const [inline, virtual]

Definition at line 116 of file CorbaLib.cpp.

virtual CORBA::Any* RTT::corba::CorbaFallBackProtocol::createAny ( DataSourceBase::shared_ptr  source) const [inline, virtual]

Evaluate source and create an any which contains the value of source.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 73 of file CorbaLib.cpp.

virtual base::DataSourceBase::shared_ptr RTT::corba::CorbaFallBackProtocol::createAttributeDataSource ( CService_ptr  serv,
const std::string &  vname 
) [inline, virtual]

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 144 of file CorbaLib.cpp.

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 118 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 93 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 138 of file CorbaLib.cpp.

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

Returns:
null

Reimplemented from RTT::corba::CorbaTypeTransporter.

Definition at line 110 of file CorbaLib.cpp.

virtual bool RTT::corba::CorbaFallBackProtocol::updateAny ( base::DataSourceBase::shared_ptr  source,
CORBA::Any &  any 
) const [inline, virtual]

Evaluate source and update an any which contains the value of source.

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 83 of file CorbaLib.cpp.

virtual bool RTT::corba::CorbaFallBackProtocol::updateFromAny ( const CORBA::Any *  blob,
DataSourceBase::shared_ptr  target 
) const [inline, virtual]

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

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 101 of file CorbaLib.cpp.


Member Data Documentation

Definition at line 70 of file CorbaLib.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:19