lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Timer.hh File Reference

Timer, which calls expired() in a user Task after duration() milliseconds, once or repeatedly, and its UNIX service routine. More...

#include "Routine.hh"
#include <pthread.h>
#include <time.h>

Classes

class  Pds::TimerServiceRoutine
 UNIX implementation of a Timer: a separate service Task waits on a condition variable with a deadline and, on timeout, queues the Timer on its user task. More...
 
class  Pds::Timer
 Base of timers: after start(), expired() is run in the Task returned by task() every duration() milliseconds (or once if repetitive() is 0) until cancel(). More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 

Detailed Description

Timer, which calls expired() in a user Task after duration() milliseconds, once or repeatedly, and its UNIX service routine.