CLAM-Development  1.4.0
Public Member Functions
CLAM::SampleAndHold Class Reference

#include <SampleAndHold.hxx>

List of all members.

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)

Detailed Description

Definition at line 36 of file SampleAndHold.hxx.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool CLAM::SampleAndHold::Do ( const Frame in,
Frame out 
)
inlinevirtual

Implements CLAM::FrameTransformation.

Definition at line 57 of file SampleAndHold.hxx.

References Do().

bool CLAM::SampleAndHold::Do ( const Spectrum in,
Spectrum out 
)
virtual
bool CLAM::SampleAndHold::Do ( )
inlinevirtual

Supervised mode execution method (using ports)

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 73 of file SampleAndHold.hxx.

References CLAM::InPort< Token >::Consume(), CLAM::InPort< Token >::GetData(), CLAM::OutPort< Token >::GetData(), and CLAM::OutPort< Token >::Produce().

Referenced by Do().

const char* CLAM::SampleAndHold::GetClassName ( ) const
inlinevirtual

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 ( )
inlinevirtual

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.


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