Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SJobArray Class Reference

#include <SJobArray.h>

Inherits leda_array< SJob * >, SObserver, and SObservable.

Inheritance diagram for SJobArray:

Inheritance graph
[legend]
List of all members.

Public Methods

 SJobArray ()
 SJobArray (const SJobArray &rArr)
 SJobArray (int size)
 ~SJobArray ()
virtual void update (const SEvent &event)
void addObserver (SObserver &obs)
void deleteObserver (SObserver &obs)
void notifyObservers (const SEvent &event)

Friends

class STaskSystemMod
class STaskSystem

Detailed Description

Stores the jobs in the tasksystem. This class just bundles all events generated by the single jobs. Therefore, it has no corresponding modifier. The STaskSystemMod changes the contents of the class. This class does not own the jobs. Hence, they are deleted by the tasksystem.
See also:
STaskSystem , STaskSystemMod


Constructor & Destructor Documentation

SJobArray::SJobArray  
 

Default constructor

SJobArray::SJobArray const SJobArray &    rArr
 

Copy constructor

SJobArray::SJobArray int    size
 

Constructor

Parameters:
size  the number of jobs

SJobArray::~SJobArray  
 

Destructor


Member Function Documentation

void SObservable::addObserver SObserver   obs [inline, inherited]
 

Here another component can register himself as observer of this component

Parameters:
obs  observer that wants to be notified of events created by this class

void SObservable::deleteObserver SObserver   obs [inline, inherited]
 

Here another component can delete himself from the list of observers of this component

Parameters:
obs  observer that doesn't want to be notified anymore

void SObservable::notifyObservers const SEvent   event [inline, inherited]
 

Inform all observers of this component about an event. The Observers will receive this event by their SObserver::update()-method.

Parameters:
event  an event that is sent to all observers of this component
See also:
SObserver::update()

void SJobArray::update const SEvent   event [virtual]
 

Re-sent events from single jobs to observer of the whole job-array

Implements SObserver.


Friends And Related Function Documentation

friend class STaskSystem [friend]
 

friend class STaskSystemMod [friend]
 


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:46 2003 for Sketch-it! by doxygen1.2.18