|
| unsigned int | secs |
| |
| bool | started {false} |
| |
| struct timespec | t = {0, 0} |
| |
◆ Invalidator()
| Invalidator::Invalidator |
( |
unsigned int |
secs | ) |
|
|
explicit |
◆ operator()()
| bool Invalidator::operator() |
( |
| ) |
|
81 if(!
started && 0 == clock_gettime(CLOCK_REALTIME, &
t))
87 struct timespec now = {0, 0};
88 if(0 == clock_gettime(CLOCK_REALTIME, &now))
90 if(now.tv_sec >
t.tv_sec +
secs)
◆ secs
| unsigned int Invalidator::secs |
|
private |
◆ started
| bool Invalidator::started {false} |
|
private |
| struct timespec Invalidator::t = {0, 0} |
|
private |
The documentation for this class was generated from the following file: