Public Member Functions | Private Attributes | List of all members
RTT::base::DataObjectBase::Options Class Reference

#include <DataObjectBase.hpp>

Public Member Functions

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

Private Attributes

unsigned int max_threads_
 
bool multiple_readers_
 
bool multiple_writers_
 

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.

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.

Member Data Documentation

unsigned int RTT::base::DataObjectBase::Options::max_threads_
private

Definition at line 51 of file DataObjectBase.hpp.

bool RTT::base::DataObjectBase::Options::multiple_readers_
private

Definition at line 53 of file DataObjectBase.hpp.

bool RTT::base::DataObjectBase::Options::multiple_writers_
private

Definition at line 52 of file DataObjectBase.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46