ParallelMatrixWeight Class Reference
[Processing]

Basic example on how to use controls efficiently in MarSystems. More...

#include <ParallelMatrixWeight.h>

Inherits Marsyas::MarSystem.


Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 ParallelMatrixWeight (const ParallelMatrixWeight &a)
 ParallelMatrixWeight copy constructor.
 ParallelMatrixWeight (std::string name)
 ParallelMatrixWeight constructor.
 ~ParallelMatrixWeight ()
 ParallelMatrixWeight destructor.

Private Member Functions

void addControls ()
 Add specific controls needed by this MarSystem.
void myUpdate (MarControlPtr sender)
 Reads changed controls and sets up variables if necessary.

Private Attributes

MarControlPtr ctrl_weights_
 MarControlPtr for the gain control.


Detailed Description

Basic example on how to use controls efficiently in MarSystems.

This example is the same as Gain; it scales the output by multiplying each sample with a real number.

Controls:

Definition at line 38 of file ParallelMatrixWeight.h.


Constructor & Destructor Documentation

ParallelMatrixWeight ( std::string  name  ) 

ParallelMatrixWeight constructor.

Add any specific controls needed by this MarSystem.

Definition at line 27 of file ParallelMatrixWeight.cpp.

References ParallelMatrixWeight::addControls().

Referenced by ParallelMatrixWeight::clone().

ParallelMatrixWeight copy constructor.

All member MarControlPtr have to be explicitly reassigned in the copy constructor.

Definition at line 38 of file ParallelMatrixWeight.cpp.

References ParallelMatrixWeight::ctrl_weights_.


Member Function Documentation

void myUpdate ( MarControlPtr  sender  )  [private, virtual]

Reads changed controls and sets up variables if necessary.

Use the default MarSystem setup with equal input/output stream format.

Reimplemented from MarSystem.

Definition at line 69 of file ParallelMatrixWeight.cpp.


The documentation for this class was generated from the following files:

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6