#include <Timer.h>
◆ Timer() [1/2]
openjaus::system::Timer::Timer |
( |
| ) |
|
◆ ~Timer()
openjaus::system::Timer::~Timer |
( |
| ) |
|
|
virtual |
◆ Timer() [2/2]
openjaus::system::Timer::Timer |
( |
void(*)(void *, Timer *) |
functionPointer, |
|
|
void * |
data |
|
) |
| |
◆ changeInterval_ms()
void openjaus::system::Timer::changeInterval_ms |
( |
int |
value | ) |
|
◆ getInterval_ms()
int openjaus::system::Timer::getInterval_ms |
( |
| ) |
|
◆ isRunning()
bool openjaus::system::Timer::isRunning |
( |
| ) |
const |
|
inline |
◆ reset() [1/2]
void openjaus::system::Timer::reset |
( |
| ) |
|
◆ reset() [2/2]
void openjaus::system::Timer::reset |
( |
int |
milliseconds | ) |
|
◆ setInterval()
void openjaus::system::Timer::setInterval |
( |
int |
milliseconds | ) |
|
◆ setInterval_ms()
void openjaus::system::Timer::setInterval_ms |
( |
int |
value | ) |
|
◆ setTimerFunction()
void openjaus::system::Timer::setTimerFunction |
( |
void(*)(void *, Timer *) |
functionPointer, |
|
|
void * |
data |
|
) |
| |
◆ start() [1/2]
void openjaus::system::Timer::start |
( |
| ) |
|
Interval value of 0 is ignored and timer will not start
◆ start() [2/2]
void openjaus::system::Timer::start |
( |
int |
interval_ms | ) |
|
◆ stop()
void openjaus::system::Timer::stop |
( |
| ) |
|
◆ timerEventFunction()
void openjaus::system::Timer::timerEventFunction |
( |
sigval_t |
sigval | ) |
|
|
staticprivate |
◆ toString()
std::string openjaus::system::Timer::toString |
( |
| ) |
const |
|
virtual |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ created
bool openjaus::system::Timer::created |
|
private |
◆ data
void* openjaus::system::Timer::data |
|
private |
◆ event
struct sigevent openjaus::system::Timer::event |
|
private |
◆ interval_ms
int openjaus::system::Timer::interval_ms |
|
private |
◆ intervalSpec
struct itimerspec openjaus::system::Timer::intervalSpec |
|
private |
◆ running
bool openjaus::system::Timer::running |
|
private |
◆ stopped
bool openjaus::system::Timer::stopped |
|
private |
◆ timerFuncMutex
Mutex openjaus::system::Timer::timerFuncMutex |
|
private |
◆ timerFunction
void(* openjaus::system::Timer::timerFunction) (void *, Timer *) |
|
private |
◆ timerId
timer_t openjaus::system::Timer::timerId |
|
private |
The documentation for this class was generated from the following files: