Abstract class for all descriptors. More...
#include <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 | 
Abstract class for all descriptors.
| Whether | to calculate the descriptors over absolute values or not (signed). | 
Definition at line 40 of file Descriptor.hxx.
| CLAM::DescriptorTmpl< abs >::DescriptorTmpl | ( | int | n | ) |  [inline] | 
Definition at line 43 of file Descriptor.hxx.
References CLAM::DescriptorTmpl< abs >::mpStats.
| CLAM::DescriptorTmpl< abs >::DescriptorTmpl | ( | const DescriptorTmpl< abs > & | prototype, | |
| bool | shareData = false, | |||
| bool | deep = true | |||
| ) |  [inline] | 
Definition at line 44 of file Descriptor.hxx.
References CLAM::DescriptorTmpl< abs >::mpStats.
| virtual CLAM::DescriptorTmpl< abs >::~DescriptorTmpl | ( | ) |  [inline, virtual] | 
Definition at line 49 of file Descriptor.hxx.
References CLAM::DescriptorTmpl< abs >::mpStats.
| virtual void CLAM::DescriptorTmpl< abs >::Compute | ( | ) |  [inline, virtual] | 
Reimplemented in CLAM::FrameDescriptors, and CLAM::SegmentDescriptors.
Definition at line 57 of file Descriptor.hxx.
References CLAM_ASSERT, CLAM::DescriptorTmpl< abs >::ConcreteCompute(), and CLAM::DescriptorTmpl< abs >::mpStats.
| 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< abs >::Compute().
| void CLAM::DescriptorTmpl< abs >::InitStats | ( | DataArray * | pData | ) |  [inline, protected] | 
Definition at line 73 of file Descriptor.hxx.
References CLAM::DescriptorTmpl< abs >::mpStats.
Referenced by CLAM::AudioDescriptors::SetpAudio(), CLAM::SpectralPeakDescriptors::SetpSpectralPeakArray(), and CLAM::SpectralDescriptors::SetpSpectrum().
| void CLAM::DescriptorTmpl< abs >::SetPrototype | ( | const DescriptorTmpl< abs > & | proto | ) |  [inline] | 
Definition at line 63 of file Descriptor.hxx.
References CLAM::DescriptorTmpl< abs >::mpStats.
| StatsTmpl<abs>* CLAM::DescriptorTmpl< abs >::mpStats  [protected] | 
Definition at line 79 of file Descriptor.hxx.
Referenced by CLAM::DescriptorTmpl< abs >::Compute(), CLAM::SpectralDescriptors::ComputeLowFreqEnergyRelation(), CLAM::SpectralDescriptors::ComputeRolloff(), CLAM::SpectralDescriptors::ComputeSpectralFlatness(), CLAM::SpectralPeakDescriptors::ConcreteCompute(), CLAM::SpectralDescriptors::ConcreteCompute(), CLAM::SpectralDescriptors::CopyInit(), CLAM::SpectralDescriptors::DefaultInit(), CLAM::DescriptorTmpl< abs >::DescriptorTmpl(), CLAM::DescriptorTmpl< abs >::InitStats(), CLAM::SegmentDescriptors::SegmentDescriptors(), CLAM::DescriptorTmpl< abs >::SetPrototype(), and CLAM::DescriptorTmpl< abs >::~DescriptorTmpl().
 1.6.3
 1.6.3