CLAM::DescriptorTmpl< abs > Class Template Reference

#include <Descriptor.hxx>

Inheritance diagram for CLAM::DescriptorTmpl< abs >:

CLAM::ProcessingData CLAM::DynamicType CLAM::Component List of all members.

Detailed Description

template<bool abs>
class CLAM::DescriptorTmpl< abs >

Abstract class for all descriptors.

Parameters:
Whether to calculate the descriptors over absolute values or not (signed).
Todo:
This class could abstract more common behaviour from subclasses by becoming template

Definition at line 40 of file Descriptor.hxx.

Public Member Functions

 DescriptorTmpl (int n)
 DescriptorTmpl (const DescriptorTmpl< abs > &prototype, bool shareData=false, bool deep=true)
virtual ~DescriptorTmpl ()
virtual void Compute ()
virtual void ConcreteCompute ()=0
void SetPrototype (const DescriptorTmpl< abs > &proto)

Protected Member Functions

void InitStats (DataArray *pData)

Protected Attributes

StatsTmpl< abs > * mpStats


Constructor & Destructor Documentation

template<bool abs>
CLAM::DescriptorTmpl< abs >::DescriptorTmpl ( int  n  )  [inline]

Definition at line 43 of file Descriptor.hxx.

template<bool abs>
CLAM::DescriptorTmpl< abs >::DescriptorTmpl ( const DescriptorTmpl< abs > &  prototype,
bool  shareData = false,
bool  deep = true 
) [inline]

Definition at line 44 of file Descriptor.hxx.

template<bool abs>
virtual CLAM::DescriptorTmpl< abs >::~DescriptorTmpl (  )  [inline, virtual]

Definition at line 49 of file Descriptor.hxx.


Member Function Documentation

template<bool abs>
virtual void CLAM::DescriptorTmpl< abs >::Compute (  )  [inline, virtual]

Reimplemented in CLAM::FrameDescriptors, and CLAM::SegmentDescriptors.

Definition at line 57 of file Descriptor.hxx.

Referenced by CLAM::DescriptorComputation::Do().

template<bool abs>
virtual void CLAM::DescriptorTmpl< abs >::ConcreteCompute (  )  [pure virtual]

Implemented in CLAM::AudioDescriptors, CLAM::FrameDescriptors, CLAM::SegmentDescriptors, CLAM::SpectralDescriptors, and CLAM::SpectralPeakDescriptors.

Referenced by CLAM::DescriptorTmpl< true >::Compute().

template<bool abs>
void CLAM::DescriptorTmpl< abs >::SetPrototype ( const DescriptorTmpl< abs > &  proto  )  [inline]

Definition at line 63 of file Descriptor.hxx.

template<bool abs>
void CLAM::DescriptorTmpl< abs >::InitStats ( DataArray pData  )  [inline, protected]

Definition at line 73 of file Descriptor.hxx.


Member Data Documentation

template<bool abs>
StatsTmpl<abs>* CLAM::DescriptorTmpl< abs >::mpStats [protected]

Definition at line 79 of file Descriptor.hxx.

Referenced by CLAM::DescriptorTmpl< true >::Compute(), CLAM::DescriptorTmpl< true >::DescriptorTmpl(), CLAM::DescriptorTmpl< true >::InitStats(), CLAM::DescriptorTmpl< true >::SetPrototype(), and CLAM::DescriptorTmpl< true >::~DescriptorTmpl().


The documentation for this class was generated from the following file:
Generated on Tue Jun 19 20:35:02 2007 for CLAM-Development by  doxygen 1.5.2