|
solarpowerlog trunk
|
#include <CTimedWork.h>

Classes | |
| struct | time_compare |
Public Member Functions | |
| CTimedWork (CWorkScheduler *sch) | |
| virtual | ~CTimedWork () |
| void | run () |
| Thread entry point. | |
| void | ScheduleWork (ICommand *Command, struct timespec ts) |
| void | RequestTermination (void) |
| Ask thread to terminate. | |
This class bundles a timed activity.
Currently, activities are tasks, which when ending, will enque an immediatte action.
Definition at line 50 of file CTimedWork.h.
| CTimedWork::CTimedWork | ( | CWorkScheduler * | sch | ) | [explicit] |
Constructor: Takes the scheduler to inform, the command to execute and the time when.
Definition at line 49 of file CTimedWork.cpp.

| CTimedWork::~CTimedWork | ( | ) | [virtual] |
| void CTimedWork::RequestTermination | ( | void | ) |
Ask thread to terminate.
Definition at line 145 of file CTimedWork.cpp.
| void CTimedWork::run | ( | ) |
Thread entry point.
Definition at line 61 of file CTimedWork.cpp.
| void CTimedWork::ScheduleWork | ( | ICommand * | Command, |
| struct timespec | ts | ||
| ) |
Definition at line 66 of file CTimedWork.cpp.