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

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, bool)
 
virtual CRemoteChannelElement_icreateChannelElement_i (DataFlowInterface *,::PortableServer::POA *poa, const ConnPolicy &) 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
 
- Public Member Functions inherited from RTT::types::TypeTransporter
virtual ~TypeTransporter ()
 

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

RTT::corba::CorbaFallBackProtocol::CorbaFallBackProtocol ( bool  do_warn = true)
inline

Definition at line 72 of file CorbaLib.cpp.

Member Function Documentation

virtual base::ChannelElementBase* RTT::corba::CorbaFallBackProtocol::buildChannelInput ( base::OutputPortInterface port,
ConnPolicy const &  policy 
) const
inlinevirtual

Definition at line 131 of file CorbaLib.cpp.

virtual base::ChannelElementBase* RTT::corba::CorbaFallBackProtocol::buildChannelOutput ( base::InputPortInterface port,
ConnPolicy const &  policy 
) const
inlinevirtual

Definition at line 124 of file CorbaLib.cpp.

virtual base::ChannelElementBase* RTT::corba::CorbaFallBackProtocol::buildDataStorage ( ConnPolicy const &  policy) const
inlinevirtual

Definition at line 116 of file CorbaLib.cpp.

virtual CORBA::Any* RTT::corba::CorbaFallBackProtocol::createAny ( DataSourceBase::shared_ptr  source) const
inlinevirtual

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,
bool   
)
inlinevirtual

Implements RTT::corba::CorbaTypeTransporter.

Definition at line 143 of file CorbaLib.cpp.

virtual CRemoteChannelElement_i* RTT::corba::CorbaFallBackProtocol::createChannelElement_i ( DataFlowInterface sender,
::PortableServer::POA *  poa,
const ConnPolicy policy 
) const
inlinevirtual

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
inlinevirtual

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 
)
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 137 of file CorbaLib.cpp.

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

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
inlinevirtual

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
inlinevirtual

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

bool RTT::corba::CorbaFallBackProtocol::warn
private

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 Tue Jun 25 2019 19:33:42