DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Protected Attributes
dabc::Condition Class Reference

posix pthread condition More...

#include <dabc/threads.h>

Public Member Functions

void _DoFire ()
 
void _DoReset ()
 
bool _DoWait (double wait_seconds)
 
long int _FiredCounter () const
 
bool _Waiting () const
 
 Condition (Mutex *ext_mtx=nullptr)
 
MutexCondMutex () const
 
void DoFire ()
 
bool DoWait (double wait_seconds=-1.)
 
void Reset ()
 
virtual ~Condition ()
 

Protected Attributes

pthread_cond_t fCond
 
MutexfCondMutex
 
long int fFiredCounter
 
Mutex fInternCondMutex
 
bool fWaiting
 

Detailed Description

posix pthread condition

Definition at line 261 of file threads.h.

Constructor & Destructor Documentation

◆ Condition()

dabc::Condition::Condition ( Mutex ext_mtx = nullptr)

Definition at line 91 of file threads.cxx.

◆ ~Condition()

dabc::Condition::~Condition ( )
virtual

Definition at line 100 of file threads.cxx.

Member Function Documentation

◆ DoFire()

void dabc::Condition::DoFire ( )
inline

Definition at line 272 of file threads.h.

◆ DoWait()

bool dabc::Condition::DoWait ( double  wait_seconds = -1.)
inline

Definition at line 278 of file threads.h.

◆ _DoReset()

void dabc::Condition::_DoReset ( )
inline

Definition at line 284 of file threads.h.

◆ Reset()

void dabc::Condition::Reset ( )
inline

Definition at line 290 of file threads.h.

◆ _DoFire()

void dabc::Condition::_DoFire ( )
inline

Definition at line 296 of file threads.h.

◆ _DoWait()

bool dabc::Condition::_DoWait ( double  wait_seconds)

Definition at line 105 of file threads.cxx.

◆ CondMutex()

Mutex* dabc::Condition::CondMutex ( ) const
inline

Definition at line 306 of file threads.h.

◆ _Waiting()

bool dabc::Condition::_Waiting ( ) const
inline

Definition at line 308 of file threads.h.

◆ _FiredCounter()

long int dabc::Condition::_FiredCounter ( ) const
inline

Definition at line 310 of file threads.h.

Field Documentation

◆ fInternCondMutex

Mutex dabc::Condition::fInternCondMutex
protected

Definition at line 263 of file threads.h.

◆ fCondMutex

Mutex* dabc::Condition::fCondMutex
protected

Definition at line 264 of file threads.h.

◆ fCond

pthread_cond_t dabc::Condition::fCond
protected

Definition at line 265 of file threads.h.

◆ fFiredCounter

long int dabc::Condition::fFiredCounter
protected

Definition at line 266 of file threads.h.

◆ fWaiting

bool dabc::Condition::fWaiting
protected

Definition at line 267 of file threads.h.


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