#include <task.hpp>
Inheritance diagram for PeriodicTask:


Public Member Functions | |
| PeriodicTask (int interval_time) | |
| ~PeriodicTask () | |
| bool | is_enrolled () const |
| void | enroll () |
| void | deroll () |
| bool | is_pending (int delay_time) |
| virtual void | task ()=0 |
Private Attributes | |
| int | counter |
| int | interval |
Friends | |
| void | real_time_tick (int delay_time) |
Definition at line 32 of file task.hpp.
| PeriodicTask::PeriodicTask | ( | int | interval_time | ) |
| PeriodicTask::~PeriodicTask | ( | ) |
Definition at line 66 of file task.cpp.
References deroll(), and is_enrolled().
Here is the call graph for this function:

| void PeriodicTask::deroll | ( | ) |
Definition at line 83 of file task.cpp.
References max_tasks, num_tasks, and tasks.
Referenced by FlatProfiler::disengage(), and ~PeriodicTask().
| void PeriodicTask::enroll | ( | ) |
Definition at line 77 of file task.cpp.
References fatal, max_tasks, num_tasks, and tasks.
Referenced by FlatProfiler::engage(), and sweeper_init().
| bool PeriodicTask::is_enrolled | ( | ) | const |
Definition at line 71 of file task.cpp.
References num_tasks, and tasks.
Referenced by ~PeriodicTask().
| bool PeriodicTask::is_pending | ( | int | delay_time | ) | [inline] |
| virtual void PeriodicTask::task | ( | ) | [pure virtual] |
Implemented in FlatProfilerTask, SweeperTask, and SystemAverageTask.
Referenced by real_time_tick().
int PeriodicTask::counter [private] |
Reimplemented in SweeperTask.
Definition at line 34 of file task.hpp.
Referenced by is_pending(), and PeriodicTask().
int PeriodicTask::interval [private] |
1.4.7