#include <NormalizeAbs.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| MarSystem * | clone () const |
| Implementation of the MarSystem::clone() method. | |
| void | myProcess (realvec &in, realvec &out) |
| Implementation of the MarSystem::myProcess method. | |
| NormalizeAbs (const NormalizeAbs &a) | |
| NormalizeAbs copy constructor. | |
| NormalizeAbs (std::string name) | |
| NormalizeAbs constructor. | |
| ~NormalizeAbs () | |
| NormalizeAbs 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_target_ |
| MarControlPtr for the gain control. | |
The Norm and Normalize MarSystems both change values based on the mean and std. This MarSystem changes values based on the maximum absolute value.
Controls:
Definition at line 39 of file NormalizeAbs.h.
| NormalizeAbs | ( | std::string | name | ) |
NormalizeAbs constructor.
Add any specific controls needed by this MarSystem.
Definition at line 25 of file NormalizeAbs.cpp.
References NormalizeAbs::addControls().
Referenced by NormalizeAbs::clone().
| NormalizeAbs | ( | const NormalizeAbs & | a | ) |
NormalizeAbs copy constructor.
All member MarControlPtr have to be explicitly reassigned in the copy constructor.
Definition at line 31 of file NormalizeAbs.cpp.
References NormalizeAbs::ctrl_target_.
| void addControls | ( | ) | [private] |
Add specific controls needed by this MarSystem.
Add any specific controls needed by this MarSystem.
Reimplemented from MarSystem.
Definition at line 50 of file NormalizeAbs.cpp.
References NormalizeAbs::ctrl_target_.
Referenced by NormalizeAbs::NormalizeAbs().
Implementation of the MarSystem::myProcess method.
Iterate over the observations and samples and do the processing.
Implements MarSystem.
Definition at line 68 of file NormalizeAbs.cpp.
References NormalizeAbs::ctrl_target_.
| 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 59 of file NormalizeAbs.cpp.
1.5.6