#include <EnvelopeGenerator.hxx>
Definition at line 58 of file EnvelopeGenerator.hxx.
Public Member Functions | |
EnvelopeGenerator (const EnvelopeGeneratorConfig &c=EnvelopeGeneratorConfig()) | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. | |
bool | ConcreteConfigure (const ProcessingConfig &c) |
Configuration method interface. | |
void | Attach (Envelope &in, Audio &out) |
bool | Do (void) |
Supervised mode execution method (using ports). | |
bool | Do (Envelope &in, Audio &out) |
Public Attributes | |
InPort< Envelope > | Input |
AudioOutPort | Output |
CLAM::EnvelopeGenerator::EnvelopeGenerator | ( | const EnvelopeGeneratorConfig & | c = EnvelopeGeneratorConfig() |
) | [inline] |
const char* CLAM::EnvelopeGenerator::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 84 of file EnvelopeGenerator.hxx.
const ProcessingConfig& CLAM::EnvelopeGenerator::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 90 of file EnvelopeGenerator.hxx.
bool CLAM::EnvelopeGenerator::ConcreteConfigure | ( | const ProcessingConfig & | ) | [inline, virtual] |
Configuration method interface.
The Processing base class forces all the concrete classes derived from it to implement this method, which must actually perform the specific configuration tasks.
Note that the user can not call this method directly. He will use Configure instead. The argument is expected to be an object of the necesary concrete configuration class.
Reference | to the configuration object. |
This | method must throw a bad_cast exception if the argument is not an object of the expected configuration class. |
Reimplemented from CLAM::Processing.
Definition at line 92 of file EnvelopeGenerator.hxx.
References CLAM::Processing::CopyAsConcreteConfig(), and Output.
bool CLAM::EnvelopeGenerator::Do | ( | void | ) | [inline, virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 111 of file EnvelopeGenerator.hxx.
References CLAM::OutPort< Token >::GetData(), Input, Output, and CLAM::OutPort< Token >::Produce().
Definition at line 119 of file EnvelopeGenerator.hxx.
References CLAM::BPFTmpl< TX, TY >::GetValue().
Definition at line 88 of file EnvelopeGenerator.hxx.
Referenced by Attach(), ConcreteConfigure(), and Do().