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

cosyProcess Class Reference

#include <cosyprocess.h>

Inheritance diagram for cosyProcess:

rteProcess List of all members.

Public Member Functions

 cosyProcess (ProcessImpl &, cosyRte &r)
 ~cosyProcess ()
void start ()
void execute (const char *i)
void join ()
void kill ()
void exit ()
bool finished () const

Private Attributes

Tasktask
bool run
Counters cntr
cosyRterte

Friends

class cosyNetwork

Constructor & Destructor Documentation

cosyProcess::cosyProcess ProcessImpl ,
cosyRte r
 

Definition at line 26 of file cosyprocess.cc.

References rte, run_cosy_process(), and task.

cosyProcess::~cosyProcess  ) 
 

Definition at line 34 of file cosyprocess.cc.

References cntr, run, and task.


Member Function Documentation

void cosyProcess::execute const char *  i  )  [virtual]
 

Implements rteProcess.

Definition at line 103 of file cosyprocess.cc.

References cntr, and count().

void cosyProcess::exit  ) 
 

Definition at line 58 of file cosyprocess.cc.

References Task::exit(), lock, run, and task.

Referenced by run_cosy_process().

bool cosyProcess::finished  )  const
 

Definition at line 98 of file cosyprocess.cc.

References run.

Referenced by cosyNetwork::deadlock().

void cosyProcess::join  ) 
 

Definition at line 70 of file cosyprocess.cc.

References Task::join(), run, and task.

void cosyProcess::kill  ) 
 

Definition at line 78 of file cosyprocess.cc.

References Task::kill(), lock, run, and task.

void cosyProcess::start  )  [virtual]
 

Implements rteProcess.

Definition at line 46 of file cosyprocess.cc.

References lock, run, Task::start(), and task.


Friends And Related Function Documentation

friend class cosyNetwork [friend]
 

Definition at line 42 of file cosyprocess.h.


Member Data Documentation

Counters cosyProcess::cntr [private]
 

Definition at line 41 of file cosyprocess.h.

Referenced by execute(), cosyNetwork::printComputationWorkload(), and ~cosyProcess().

cosyRte* cosyProcess::rte [private]
 

Definition at line 43 of file cosyprocess.h.

Referenced by cosyProcess().

bool cosyProcess::run [private]
 

Definition at line 40 of file cosyprocess.h.

Referenced by exit(), finished(), join(), kill(), start(), and ~cosyProcess().

Task* cosyProcess::task [private]
 

Definition at line 39 of file cosyprocess.h.

Referenced by cosyProcess(), exit(), join(), kill(), start(), and ~cosyProcess().


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 14:52:40 2006 for yapi by doxygen 1.3.2