SystemTask Class Reference

#include <SystemTask.h>

Inheritance diagram for SystemTask:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class is an interface definition for all main loop tasks within the system.

By realizing a SystemTask, you can add tasks to the system's main loop.

See also:
SystemTaskList for information on how to add tasks to the list.


Public Types

enum  Status {
  OK,
  NEEDRESET,
  NEEDREBOOT
}
 An enumeration of status values that are returned by the execute method. More...

Public Member Functions

virtual Status execute ()=0
 This method must be implemented in the realization.


Member Enumeration Documentation

enum SystemTask::Status
 

An enumeration of status values that are returned by the execute method.

Enumerator:
OK  Everything went well.
NEEDRESET  Things didn't go well, and the system cycle should reset.
NEEDREBOOT  Things really didn't go well, and the system should reboot.


Member Function Documentation

virtual Status SystemTask::execute  )  [pure virtual]
 

This method must be implemented in the realization.

The execute() method is invoked each cycle of the main loop.

Returns:
Status

Implemented in SystemKeyboard, and SystemMessenger.


The documentation for this class was generated from the following file:
Generated on Tue Sep 19 14:04:53 2006 for MegaPlusPlus by  doxygen 1.4.6