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

Public Member Functions

DataSource< SendStatus > * clone () const
 
virtual DataSource< SendStatus > * copy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const
 
 CorbaOperationCallerCollect (CSendHandle_ptr sh, std::vector< base::DataSourceBase::shared_ptr > const &args, DataSource< bool >::shared_ptr isblocking)
 
SendStatus get () const
 
SendStatus const & rvalue () const
 
SendStatus value () const
 
 ~CorbaOperationCallerCollect ()
 
- Public Member Functions inherited from RTT::internal::DataSource< SendStatus >
 BOOST_STATIC_ASSERT (!details::HasConst< SendStatus >::value)
 
virtual DataSource< SendStatus > * copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const =0
 
virtual bool evaluate () const
 
void const * getRawConstPointer ()
 
virtual std::string getType () const
 
virtual const types::TypeInfogetTypeInfo () const
 
virtual std::string getTypeName () const
 
- Public Member Functions inherited from RTT::base::DataSourceBase
virtual DataSourceBasecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const =0
 
 DataSourceBase ()
 
void deref () const
 
virtual shared_ptr getMember (const std::string &member_name)
 
virtual shared_ptr getMember (DataSourceBase::shared_ptr member_id, DataSourceBase::shared_ptr offset)
 
virtual std::vector< std::string > getMemberNames () const
 
virtual shared_ptr getParent ()
 
virtual void * getRawPointer ()
 
virtual bool isAssignable () const
 
void ref () const
 
virtual void reset ()
 
std::string toString ()
 
virtual bool update (DataSourceBase *other)
 
virtual ActionInterfaceupdateAction (DataSourceBase *other)
 
virtual void updated ()
 
std::ostream & write (std::ostream &os)
 

Private Attributes

std::vector< base::DataSourceBase::shared_ptrmargs
 
DataSource< bool >::shared_ptr misblocking
 
CSendHandle_var msh
 
SendStatus mss
 

Additional Inherited Members

- Public Types inherited from RTT::internal::DataSource< SendStatus >
typedef boost::intrusive_ptr< const DataSource< SendStatus > > const_ptr
 
typedef details::GetConstRef< SendStatus >::type const_reference_t
 
typedef SendStatus result_t
 
typedef boost::intrusive_ptr< DataSource< SendStatus > > shared_ptr
 
typedef SendStatus value_t
 
- Public Types inherited from RTT::base::DataSourceBase
typedef boost::intrusive_ptr< const DataSourceBaseconst_ptr
 
typedef boost::intrusive_ptr< DataSourceBaseshared_ptr
 
- Static Public Member Functions inherited from RTT::internal::DataSource< SendStatus >
static std::string GetType ()
 
static const types::TypeInfoGetTypeInfo ()
 
static std::string GetTypeName ()
 
static DataSource< SendStatus > * narrow (base::DataSourceBase *db)
 
- Static Public Member Functions inherited from RTT::base::DataSourceBase
static const_ptr stack_const_ptr (const DataSourceBase *dsb)
 
static shared_ptr stack_shared_ptr (DataSourceBase *dsb)
 
- Protected Member Functions inherited from RTT::internal::DataSource< SendStatus >
virtual ~DataSource ()
 
- Protected Member Functions inherited from RTT::base::DataSourceBase
virtual ~DataSourceBase ()
 
- Protected Attributes inherited from RTT::base::DataSourceBase
os::AtomicInt refcount
 

Detailed Description

Collects a CORBA method. This is not a datasource because we separate the returning of the data from the calling code in order to avoid that the calling code depends on templates (ie a DataSource<T> base class). This class needs to be combined with an ActionAliasDataSource that ties this action to the value datasource referenced by mresult.

Definition at line 396 of file CorbaOperationCallerFactory.cpp.

Constructor & Destructor Documentation

CorbaOperationCallerCollect::CorbaOperationCallerCollect ( CSendHandle_ptr  sh,
std::vector< base::DataSourceBase::shared_ptr > const &  args,
DataSource< bool >::shared_ptr  isblocking 
)
inline

Definition at line 403 of file CorbaOperationCallerFactory.cpp.

CorbaOperationCallerCollect::~CorbaOperationCallerCollect ( )
inline

Definition at line 410 of file CorbaOperationCallerFactory.cpp.

Member Function Documentation

DataSource<SendStatus>* CorbaOperationCallerCollect::clone ( ) const
inlinevirtual

Return a shallow clone of this DataSource. This method returns a duplicate of this instance which re-uses the DataSources this internal::DataSource holds reference to. The clone() function is thus a non-deep copy.

Implements RTT::internal::DataSource< SendStatus >.

Definition at line 451 of file CorbaOperationCallerFactory.cpp.

virtual DataSource<SendStatus>* CorbaOperationCallerCollect::copy ( std::map< const DataSourceBase *, DataSourceBase * > &  alreadyCloned) const
inlinevirtual

Definition at line 453 of file CorbaOperationCallerFactory.cpp.

SendStatus CorbaOperationCallerCollect::get ( ) const
inlinevirtual

Return the data as type T.

Implements RTT::internal::DataSource< SendStatus >.

Definition at line 420 of file CorbaOperationCallerFactory.cpp.

SendStatus const& CorbaOperationCallerCollect::rvalue ( ) const
inlinevirtual

Get a const reference to the value of this DataSource. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Note
Getting a reference to an internal data structure is not thread-safe.

Implements RTT::internal::DataSource< SendStatus >.

Definition at line 418 of file CorbaOperationCallerFactory.cpp.

SendStatus CorbaOperationCallerCollect::value ( ) const
inlinevirtual

Return the result of the last evaluate() function. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Implements RTT::internal::DataSource< SendStatus >.

Definition at line 416 of file CorbaOperationCallerFactory.cpp.

Member Data Documentation

std::vector<base::DataSourceBase::shared_ptr> CorbaOperationCallerCollect::margs
private

Definition at line 399 of file CorbaOperationCallerFactory.cpp.

DataSource<bool>::shared_ptr CorbaOperationCallerCollect::misblocking
private

Definition at line 400 of file CorbaOperationCallerFactory.cpp.

CSendHandle_var CorbaOperationCallerCollect::msh
private

Definition at line 398 of file CorbaOperationCallerFactory.cpp.

SendStatus CorbaOperationCallerCollect::mss
mutableprivate

Definition at line 401 of file CorbaOperationCallerFactory.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:40