Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

MProcess Class Reference

An abstract process. More...

#include <MProcess.h>

Inheritance diagram for MProcess:

MProcessComposite List of all members.

Public Member Functions

 MProcess (string name)
virtual string Name () const
virtual MProcessChild (const unsigned int) const
virtual unsigned int NumberOfChildren () const
virtual void Run (unsigned int)=0

Protected Attributes

string _name

Detailed Description

A process is an abstraction for data processing that have to be performed.

Typically, this corresponds to the processing of audio data done by a JACK client at each cycle.

A process can itself be further composed of several child processes, like in a composite pattern.


Constructor & Destructor Documentation

MProcess::MProcess string  name  )  [inline]
 

Create a process called name.


Member Function Documentation

virtual string MProcess::Name  )  const [inline, virtual]
 

The name of the process.

virtual MProcess* MProcess::Child const unsigned  int  )  const [inline, virtual]
 

The nth direct child of the process.

This will return NULL for a non-composite process.

Reimplemented in MProcessComposite.

virtual unsigned int MProcess::NumberOfChildren  )  const [inline, virtual]
 

The number of direct children of this process.

This will return NULL for a non-composite process.

Reimplemented in MProcessComposite.

virtual void MProcess::Run unsigned  int  )  [pure virtual]
 

Asks the process to proceed a block of n data.

Implemented in MProcessComposite.


Member Data Documentation

string MProcess::_name [protected]
 

The name of the process.


The documentation for this class was generated from the following file:
Generated on Mon Jan 31 12:43:32 2005 for la Marmite by Doxygen 1.4.1