DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Data Fields
dabc::Thread::TimeoutRec Struct Reference

#include <dabc/Thread.h>

Public Member Functions

bool Activate (double tmout)
 Activating timeout. More...
 
bool CheckEvent (Mutex *thread_mutex)
 Method called to check event, submitted when timeout was requested Returns true when check should be done. More...
 
bool CheckNextProcess (const TimeStamp &now, double &min_tmout, double &last_diff)
 
void SetNextFire (const TimeStamp &now, double dist, double &min_tmout)
 
 TimeoutRec ()
 
 TimeoutRec (const TimeoutRec &src)
 

Data Fields

TimeStamp next_fire
 when next timeout event will be called More...
 
TimeStamp prev_fire
 when previous timeout event was called More...
 
bool tmout_active
 true when timeout active More...
 
double tmout_interv
 time interval was specified by timeout active More...
 
TimeStamp tmout_mark
 time mark when timeout should happen More...
 

Detailed Description

Definition at line 134 of file Thread.h.

Constructor & Destructor Documentation

◆ TimeoutRec() [1/2]

dabc::Thread::TimeoutRec::TimeoutRec ( )
inline

Definition at line 142 of file Thread.h.

◆ TimeoutRec() [2/2]

dabc::Thread::TimeoutRec::TimeoutRec ( const TimeoutRec src)
inline

Definition at line 144 of file Thread.h.

Member Function Documentation

◆ Activate()

bool dabc::Thread::TimeoutRec::Activate ( double  tmout)
inline

Activating timeout.

Definition at line 152 of file Thread.h.

◆ CheckEvent()

bool dabc::Thread::TimeoutRec::CheckEvent ( Mutex thread_mutex)
inline

Method called to check event, submitted when timeout was requested Returns true when check should be done.

Definition at line 163 of file Thread.h.

◆ CheckNextProcess()

bool dabc::Thread::TimeoutRec::CheckNextProcess ( const TimeStamp now,
double &  min_tmout,
double &  last_diff 
)
inline

Definition at line 200 of file Thread.h.

◆ SetNextFire()

void dabc::Thread::TimeoutRec::SetNextFire ( const TimeStamp now,
double  dist,
double &  min_tmout 
)
inline

Definition at line 216 of file Thread.h.

Field Documentation

◆ tmout_mark

TimeStamp dabc::Thread::TimeoutRec::tmout_mark

time mark when timeout should happen

Definition at line 135 of file Thread.h.

◆ tmout_interv

double dabc::Thread::TimeoutRec::tmout_interv

time interval was specified by timeout active

Definition at line 136 of file Thread.h.

◆ tmout_active

bool dabc::Thread::TimeoutRec::tmout_active

true when timeout active

Definition at line 137 of file Thread.h.

◆ prev_fire

TimeStamp dabc::Thread::TimeoutRec::prev_fire

when previous timeout event was called

Definition at line 139 of file Thread.h.

◆ next_fire

TimeStamp dabc::Thread::TimeoutRec::next_fire

when next timeout event will be called

Definition at line 140 of file Thread.h.


The documentation for this struct was generated from the following file: