|
rambrain
|
Provides an interface to a timer which periodically sends SIGUSR1 signals. More...
#include <timer.h>
Static Public Member Functions | |
| static void | startTimer (long seconds, long nanoseconds) |
| Start the timer. More... | |
| static void | stopTimer () |
| Stop the timer. More... | |
| static bool | isRunning () |
| Simple getter. More... | |
Private Member Functions | |
| Timer () | |
| Create a new timer. More... | |
Static Private Member Functions | |
| static void | initialiseTimer () |
| Set up the timer. More... | |
Static Private Attributes | |
| static timer_t | timerid |
| static struct sigevent | sev |
| static struct itimerspec | its |
| static bool | initialised = false |
| static bool | running = false |
Provides an interface to a timer which periodically sends SIGUSR1 signals.
|
private |
|
staticprivate |
|
inlinestatic |
|
static |