#include <LiveCheck.h>
LC_TimeoutGuard::LC_TimeoutGuard |
( |
LiveCheck * |
owner, |
|
|
int |
token |
|
) |
| |
construct a new stack-based guard. This sets a flag in the owner that will be cleared on destruction.
LC_TimeoutGuard::~LC_TimeoutGuard |
( |
void |
| ) |
|
releases the flag. If the LiveCheck received any requests for an immediate or defered ping during this time, schedule it now.
bool LC_TimeoutGuard::blocked |
( |
void |
| ) |
|
Returns true if the busy flag in the owner was already set.
bool LC_TimeoutGuard::blocked_ |
|
private |
int LC_TimeoutGuard::token_ |
|
private |
The documentation for this class was generated from the following files: