Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SfUTask Class Reference

Saphira class that encapsulates the Aria synchronous task. More...

#include <SfUTask.h>

Inheritance diagram for SfUTask::

List of all members.

Public Methods

 SfUTask (char *name, int priority)
 Constructor, must be chained to by the subclass.

virtual ~SfUTask ()
 Destructor.

void suspendTask ()
 Suspend the task.

void resumeTask ()
 Resume the task.

virtual void process ()
 Task main body, called every sync cycle.


Public Attributes

int processState
 Process state. Can be written to during normal processing, to set a user-defined state. Should not be used to suspend or resume the uTask.


Detailed Description

Saphira class that encapsulates the Aria synchronous task.

This Saphira micro-task class is a wrapper for the Aria synchronous task facility. Each SfUTask object is has its process() function called during the 100 ms synchronous cycle.

There are functions for suspending and resuming the uTask, which can be called from within process() or outside of it.

There is a tutorial program in the directory Saphira/tutor/task.


The documentation for this class was generated from the following files:
Generated on Tue Nov 12 17:49:38 2002 for Saphira by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001