Orocos Real-Time Toolkit  2.9.0
Public Member Functions | List of all members
RTT::base::DataObjectBase::Options Class Reference

A helper class to pass optional arguments to the constructor of DataObjectLockFree<T> in order to avoid ambiguity. More...

#include <rtt/base/DataObjectBase.hpp>

Public Member Functions

 Options ()
 
 Options (const ConnPolicy &policy)
 
 Options (unsigned int max_threads)
 
unsigned int max_threads () const
 
Optionsmax_threads (unsigned int value)
 
bool multiple_writers () const
 
Optionsmultiple_writers (bool value)
 
bool multiple_readers () const
 
Optionsmultiple_readers (bool value)
 

Detailed Description

A helper class to pass optional arguments to the constructor of DataObjectLockFree<T> in order to avoid ambiguity.

Definition at line 49 of file DataObjectBase.hpp.

Constructor & Destructor Documentation

DataObjectBase::Options::Options ( )

Definition at line 36 of file DataObjectBase.cpp.

DataObjectBase::Options::Options ( const ConnPolicy policy)

Definition at line 48 of file DataObjectBase.cpp.

References RTT::ConnPolicy::max_threads.

DataObjectBase::Options::Options ( unsigned int  max_threads)

Definition at line 42 of file DataObjectBase.cpp.

Member Function Documentation

unsigned int RTT::base::DataObjectBase::Options::max_threads ( ) const
inline

Definition at line 60 of file DataObjectBase.hpp.

Options& RTT::base::DataObjectBase::Options::max_threads ( unsigned int  value)
inline

Definition at line 61 of file DataObjectBase.hpp.

bool RTT::base::DataObjectBase::Options::multiple_readers ( ) const
inline

Definition at line 64 of file DataObjectBase.hpp.

Options& RTT::base::DataObjectBase::Options::multiple_readers ( bool  value)
inline

Definition at line 65 of file DataObjectBase.hpp.

bool RTT::base::DataObjectBase::Options::multiple_writers ( ) const
inline

Definition at line 62 of file DataObjectBase.hpp.

Options& RTT::base::DataObjectBase::Options::multiple_writers ( bool  value)
inline

Definition at line 63 of file DataObjectBase.hpp.


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