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

seda_stage_base Class Reference

Inherits Mutex.

Inherited by SEDAStage< In, void >.

List of all members.


Detailed Description

Base class for all stages in a SEDA (staged, event-driven application) decomposition.

Typically stages will inherit from the SEDAStage class.


Public Methods

 seda_stage_base (string name=string())
 Constructor.

virtual ~seda_stage_base ()
 Destructor.

void set_name (string name)
 Sets the name of this queue.

string get_name ()
 Returns the name of this stage.

virtual void set_nthreads (unsigned int min, unsigned int max)=0
 Sets the minimum and maximum number of threads (inclusive) which may be assigned to this stage.

virtual void scan ()=0


Constructor & Destructor Documentation

seda_stage_base::seda_stage_base string    name = string()
 

Constructor.

virtual seda_stage_base::~seda_stage_base   [virtual]
 

Destructor.


Member Function Documentation

string seda_stage_base::get_name  
 

Returns the name of this stage.

virtual void seda_stage_base::scan   [pure virtual]
 

Implemented in SEDAStage< In, void >.

void seda_stage_base::set_name string    name
 

Sets the name of this queue.

virtual void seda_stage_base::set_nthreads unsigned int    min,
unsigned int    max
[pure virtual]
 

Sets the minimum and maximum number of threads (inclusive) which may be assigned to this stage.

Implemented in SEDAStage< In, void >.


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