#include <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 |
Definition at line 58 of file EnvelopeGenerator.hxx.
CLAM::EnvelopeGenerator::EnvelopeGenerator | ( | const EnvelopeGeneratorConfig & | c = EnvelopeGeneratorConfig() |
) | [inline] |
Definition at line 75 of file EnvelopeGenerator.hxx.
References CLAM::Processing::Configure().
Definition at line 105 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. |
true if the processing object is left in a consistent state, and can be executed.
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.
Definition at line 119 of file EnvelopeGenerator.hxx.
References CLAM::BPFTmpl< TX, TY >::GetValue(), and CLAM::Array< T >::Size().
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::InPort< Token >::Consume(), CLAM::OutPort< Token >::GetData(), CLAM::InPort< Token >::GetData(), Input, Output, and CLAM::OutPort< Token >::Produce().
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.
Definition at line 86 of file EnvelopeGenerator.hxx.
Definition at line 88 of file EnvelopeGenerator.hxx.
Referenced by Attach(), ConcreteConfigure(), and Do().