#include <timer.h>
|
typedef boost::function< bool(void)> | Handler |
|
typedef boost::function< void(std::string,
std::string, std::string)> | ErrorHandler |
|
Definition at line 54 of file timer.h.
Enumerator |
---|
Init |
|
Running |
|
Fired |
|
Cancelled |
|
Definition at line 138 of file timer.h.
Timer::Timer |
( |
boost::asio::io_context & |
service, |
|
|
const std::string & |
name, |
|
|
int |
task_id, |
|
|
int |
task_instance, |
|
|
bool |
delete_on_completion = false |
|
) |
| |
bool Timer::cancelled |
( |
| ) |
const |
|
inline |
virtual std::string Timer::Description |
( |
| ) |
|
|
inlinevirtual |
bool Timer::fired |
( |
| ) |
const |
|
inline |
int64_t Timer::GetElapsedTime |
( |
| ) |
const |
static int Timer::GetTimerInstanceId |
( |
| ) |
|
|
inlinestaticprivate |
static int Timer::GetTimerTaskId |
( |
| ) |
|
|
inlinestaticprivate |
bool Timer::Idle |
( |
| ) |
const |
|
inline |
bool Timer::IsDeleteOnCompletion |
( |
| ) |
const |
|
inline |
bool Timer::Reschedule |
( |
int |
time | ) |
|
bool Timer::running |
( |
| ) |
const |
|
inline |
void Timer::StartTimerTask |
( |
TimerPtr |
reference, |
|
|
int |
time, |
|
|
uint32_t |
seq_no, |
|
|
const boost::system::error_code & |
ec |
|
) |
| |
|
private |
int Timer::time |
( |
| ) |
const |
|
inline |
void intrusive_ptr_add_ref |
( |
Timer * |
timer | ) |
|
|
friend |
void intrusive_ptr_release |
( |
Timer * |
timer | ) |
|
|
friend |
bool Timer::delete_on_completion_ |
|
private |
tbb::atomic<int> Timer::refcount_ |
|
private |
int Timer::task_instance_ |
|
private |
The documentation for this class was generated from the following files: