#include <SampleAndHold.hxx>
Public Member Functions | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
SampleAndHold () | |
~SampleAndHold () | |
bool | Do (const Frame &in, Frame &out) |
virtual bool | InitControls () |
Virtual function to override when needing to give different default values to the controls. | |
bool | Do (const Spectrum &in, Spectrum &out) |
bool | Do () |
Supervised mode execution method (using ports). |
Definition at line 36 of file SampleAndHold.hxx.
CLAM::SampleAndHold::SampleAndHold | ( | ) | [inline] |
Definition at line 47 of file SampleAndHold.hxx.
References CLAM::Processing::Configure().
CLAM::SampleAndHold::~SampleAndHold | ( | ) | [inline] |
Definition at line 55 of file SampleAndHold.hxx.
bool CLAM::SampleAndHold::Do | ( | ) | [inline, virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 73 of file SampleAndHold.hxx.
References CLAM::InPort< Token >::Consume(), CLAM::OutPort< Token >::GetData(), CLAM::InPort< Token >::GetData(), and CLAM::OutPort< Token >::Produce().
Referenced by Do().
Implements CLAM::FrameTransformationTmpl< Spectrum >.
Definition at line 35 of file SampleAndHold.cxx.
Implements CLAM::FrameTransformation.
Definition at line 57 of file SampleAndHold.hxx.
References Do().
const char* CLAM::SampleAndHold::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 42 of file SampleAndHold.hxx.
virtual bool CLAM::SampleAndHold::InitControls | ( | ) | [inline, virtual] |
Virtual function to override when needing to give different default values to the controls.
Reimplemented from CLAM::FrameTransformation.
Definition at line 63 of file SampleAndHold.hxx.
References CLAM::InControl< ControlDataType >::DoControl(), and CLAM::FrameTransformation::mAmount.