Definition at line 8 of file timer.cc.
Timer::TimerTask::TimerTask |
( |
TimerPtr |
timer, |
|
|
boost::system::error_code |
ec |
|
) |
| |
|
inline |
virtual Timer::TimerTask::~TimerTask |
( |
| ) |
|
|
inlinevirtual |
virtual std::string Timer::TimerTask::Description |
( |
| ) |
const |
|
inlinevirtual |
Timer::TimerTask::DISALLOW_COPY_AND_ASSIGN |
( |
TimerTask |
| ) |
|
|
private |
void Timer::TimerTask::OnTaskCancel |
( |
| ) |
|
|
inlinevirtual |
Called on task exit, if it is marked for cancellation. If the user wants to do any cleanup on task cancellation, then he/she can overload this function.
Reimplemented from Task.
Definition at line 59 of file timer.cc.
virtual bool Timer::TimerTask::Run |
( |
| ) |
|
|
inlinevirtual |
Code to execute. Returns true if task is completed. Return false to reschedule the task.
Implements Task.
Definition at line 19 of file timer.cc.
boost::system::error_code Timer::TimerTask::ec_ |
|
private |
The documentation for this class was generated from the following file: