#include <Scheduler.hpp>

Public Member Functions | |
| Basic_Scheduler (aspect_type aspect=aspect_type()) | |
| Default constructor is private to enforce singleton. | |
| void | add_task (act) |
| Add an ordinary task into the scheduling queue. | |
| void | add_service (act) |
| Add a service with indefinite lifetime. | |
| void | add_critical_service (act) |
| void | operator() () |
| The main execution loop. | |
| bool | ordinary_tasks_available () |
| bool | empty () |
| void | reset () |
Friends | |
| class | Basic_Wakeup_Listener< Basic_Scheduler > |
This may not be the final production version of a scheduler. Nevertheless, a scheduler which is as simple as possible, but still works as a scheduler, should be retained for testing. In particular, this scheduler does not have a timeout mechanism to detect stalled actions. This would be a defect in a production environment. Such an absence should be retained for the test environment, to be able to isolate defective actions that stall.
| ACT::Basic_Scheduler< Aspect >::Basic_Scheduler | ( | aspect_type | aspect = aspect_type() |
) | [inline] |
Default constructor is private to enforce singleton.
| void ACT::Basic_Scheduler< Aspect >::add_task | ( | act | x | ) | [inline, virtual] |
| void ACT::Basic_Scheduler< Aspect >::add_service | ( | act | ) | [inline, virtual] |
| void ACT::Basic_Scheduler< Aspect >::add_critical_service | ( | act | ) | [inline] |
| void ACT::Basic_Scheduler< Aspect >::operator() | ( | void | ) | [inline] |
The main execution loop.
| bool ACT::Basic_Scheduler< Aspect >::ordinary_tasks_available | ( | ) | [inline, virtual] |
Implements ACT::Scheduler.
| bool ACT::Basic_Scheduler< Aspect >::empty | ( | ) | [inline] |
| void ACT::Basic_Scheduler< Aspect >::reset | ( | ) | [inline] |
friend class Basic_Wakeup_Listener< Basic_Scheduler > [friend] |
1.5.4