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

seda_clock_thread Class Reference

Inherits Thread.

List of all members.


Detailed Description

A Thread that may be used as a clock for a group of SEDA stages.

It invokes seda_stage_base::scan on each stage at a particular period.


Public Methods

 seda_clock_thread (Time period=Time::secs(5))
 Constructor.

 ~seda_clock_thread ()
 Destructor.

void insert (seda_stage_base &stage)
 Add a stage to scan.

void erase (seda_stage_base &stage)
 Remove a stage to scan.

virtual void run ()
void terminate ()
 Cause the Thread to terminate.


Constructor & Destructor Documentation

seda_clock_thread::seda_clock_thread Time    period = Time::secs(5)
 

Constructor.

seda_clock_thread::~seda_clock_thread  
 

Destructor.


Member Function Documentation

void seda_clock_thread::erase seda_stage_base   stage
 

Remove a stage to scan.

void seda_clock_thread::insert seda_stage_base   stage
 

Add a stage to scan.

virtual void seda_clock_thread::run   [virtual]
 

Implements Thread.

void seda_clock_thread::terminate  
 

Cause the Thread to terminate.


The documentation for this class was generated from the following file:
Generated on Fri Dec 20 13:35:11 2002 for NMSTL