|
CLAM-Development
1.4.0
|
This class tells which formats are instantiated in a Spectrum. More...
#include <SpecTypeFlags.hxx>
Public Types | |
| enum | tFlags { eComplex = 0, ePolar = 1, eMagPhase = 2, eMagPhaseBPF = 3 } |
Public Member Functions | |
| virtual Component * | Species () const |
| Returns a new object of the same class than the receiver object. | |
| SpecTypeFlags () | |
| SpecTypeFlags (const SpecTypeFlags &t) | |
Public Member Functions inherited from CLAM::Flags< 4 > | |
| virtual | ~Flags () |
| The required virtual destructor. | |
| const char * | GetClassName () const |
| virtual unsigned int | GetNFlags () const |
| virtual Component * | DeepCopy () const |
| virtual Component * | ShallowCopy () const |
Public Member Functions inherited from CLAM::FlagsBase | |
| std::string | GetFlagString (unsigned int whichOne) const throw (IllegalValue) |
| Retrieves the name of the flag at a position. | |
| unsigned int | GetFlagPosition (const std::string &whichOne) const throw (IllegalValue) |
| Retrieves the position of the named flag. | |
| virtual void | StoreOn (Storage &storage) const |
| Stores component's subitems on the given Storage. | |
| virtual void | LoadFrom (Storage &storage) |
| Loads component's subitems from the given Storage. | |
| bool | CheckInvariant () |
| Checks that the object is internally consistent. | |
Public Member Functions inherited from CLAM::Component | |
| virtual | ~Component () |
Public Attributes | |
| reference | bComplex |
| reference | bPolar |
| reference | bMagPhase |
| reference | bMagPhaseBPF |
Static Public Attributes | |
| static tFlagValue | sFlagValues [] |
| static tValue | sDefault |
Additional Inherited Members | |
Protected Member Functions inherited from CLAM::Flags< 4 > | |
| Flags (tFlagValue *names) | |
| The default constructor. | |
| Flags (tFlagValue *names, const Flags< N > &t) | |
| The derived copy constructor will use this. | |
| Flags (tFlagValue *names, const T &t) | |
| A lazy way to redefine all unary constructors in bitset by forwarding it. | |
| Flags (tFlagValue *names, const T1 &t1, const T2 &t2) | |
| A template binary constructor that fordwards to the matching std::bitset. | |
| virtual bool | IsSetFlag (unsigned int whichOne) const |
| virtual void | SetFlag (unsigned int whichOne, bool value=true) |
This class tells which formats are instantiated in a Spectrum.
It could be:
It can be used as any other class derived from Flags: you can use the std::bit interface and Flags added functionalities.
Definition at line 42 of file SpecTypeFlags.hxx.
Definition at line 50 of file SpecTypeFlags.hxx.
|
inline |
Definition at line 57 of file SpecTypeFlags.hxx.
References bComplex, bMagPhase, bMagPhaseBPF, and bPolar.
Referenced by Species().
|
inline |
Definition at line 71 of file SpecTypeFlags.hxx.
|
inlinevirtual |
Returns a new object of the same class than the receiver object.
To be reimplemented by subclasses.
Implements CLAM::Flags< 4 >.
Definition at line 47 of file SpecTypeFlags.hxx.
References SpecTypeFlags().
| reference CLAM::SpecTypeFlags::bComplex |
Definition at line 77 of file SpecTypeFlags.hxx.
Referenced by CLAM::FFT_base::ConcreteConfigure(), CLAM::LPC_AutoCorrelation::Do(), CLAM::SynthSineSpectrum::Do(), CLAM::SDIFOut::Do(), CLAM::Spectrum::GetConfig(), CLAM::Spectrum::GetMag(), CLAM::Spectrum::GetPhase(), CLAM::Spectrum::GetType(), CLAM::SDIFFileReader::ReadFrame(), CLAM::Spectrum::SetMag(), CLAM::Spectrum::SetPhase(), CLAM::IFFT_fftw3::SetPrototypes(), CLAM::IFFT_ooura::SetPrototypes(), CLAM::FFT_base::SetPrototypes(), CLAM::SpectrumProduct::SetPrototypes(), CLAM::SpectrumSubstracter2::SetPrototypes(), CLAM::SpectrumInterpolator::SetPrototypes(), CLAM::SpectrumAdder2::SetPrototypes(), CLAM::SpectrumAdder::SetPrototypes(), CLAM::Spectrum::SetTypeSynchronize(), SpecTypeFlags(), CLAM::Spectrum::SynchronizeTo(), CLAM::Spectrum::ToDB(), CLAM::Spectrum::ToLinear(), and CLAM::LPModel::ToSpectrum().
| reference CLAM::SpecTypeFlags::bMagPhase |
Definition at line 91 of file SpecTypeFlags.hxx.
Referenced by CLAM::SegmentSMSMorph::ConcreteConfigure(), CLAM::FFT_base::ConcreteConfigure(), CLAM::LPC_AutoCorrelation::Do(), CLAM::SynthSineSpectrum::Do(), CLAM::Spectrum::GetConfig(), CLAM::Spectrum::GetMag(), CLAM::Spectrum::GetPhase(), CLAM::Spectrum::GetType(), CLAM::SDIFFileReader::ReadFrame(), CLAM::Spectrum::SetMag(), CLAM::Spectrum::SetPhase(), CLAM::IFFT_fftw3::SetPrototypes(), CLAM::IFFT_ooura::SetPrototypes(), CLAM::FFT_base::SetPrototypes(), CLAM::SpectrumProduct::SetPrototypes(), CLAM::SpectrumSubstracter2::SetPrototypes(), CLAM::SpectrumInterpolator::SetPrototypes(), CLAM::SpectrumAdder2::SetPrototypes(), CLAM::SpectrumAdder::SetPrototypes(), CLAM::Spectrum::SetTypeSynchronize(), CLAM::SpectralFocus::SpectralFocus(), CLAM::SpectralSpread::SpectralSpread(), SpecTypeFlags(), CLAM::Spectrum::SynchronizeTo(), CLAM::Spectrum::ToDB(), CLAM::Spectrum::ToLinear(), and CLAM::LPModel::ToSpectrum().
| reference CLAM::SpecTypeFlags::bMagPhaseBPF |
Definition at line 92 of file SpecTypeFlags.hxx.
Referenced by CLAM::SegmentSMSMorph::ConcreteConfigure(), CLAM::SynthSineSpectrum::Do(), CLAM::Spectrum::GetConfig(), CLAM::Spectrum::GetMag(), CLAM::Spectrum::GetPhase(), CLAM::Spectrum::GetType(), CLAM::Spectrum::SetMag(), CLAM::Spectrum::SetPhase(), CLAM::IFFT_fftw3::SetPrototypes(), CLAM::IFFT_ooura::SetPrototypes(), CLAM::FFT_base::SetPrototypes(), CLAM::SpectrumProduct::SetPrototypes(), CLAM::SpectrumSubstracter2::SetPrototypes(), CLAM::SpectrumInterpolator::SetPrototypes(), CLAM::SpectrumAdder2::SetPrototypes(), CLAM::Spectrum::SetTypeSynchronize(), CLAM::SpectralFocus::SpectralFocus(), CLAM::SpectralSpread::SpectralSpread(), SpecTypeFlags(), CLAM::Spectrum::SynchronizeTo(), CLAM::Spectrum::ToDB(), and CLAM::Spectrum::ToLinear().
| reference CLAM::SpecTypeFlags::bPolar |
Definition at line 90 of file SpecTypeFlags.hxx.
Referenced by CLAM::SynthSineSpectrum::Do(), CLAM::Spectrum::GetConfig(), CLAM::Spectrum::GetMag(), CLAM::Spectrum::GetPhase(), CLAM::Spectrum::GetType(), CLAM::Spectrum::SetMag(), CLAM::Spectrum::SetPhase(), CLAM::IFFT_fftw3::SetPrototypes(), CLAM::IFFT_ooura::SetPrototypes(), CLAM::FFT_base::SetPrototypes(), CLAM::SpectrumProduct::SetPrototypes(), CLAM::SpectrumSubstracter2::SetPrototypes(), CLAM::SpectrumInterpolator::SetPrototypes(), CLAM::SpectrumAdder2::SetPrototypes(), CLAM::SpectrumAdder::SetPrototypes(), CLAM::Spectrum::SetTypeSynchronize(), SpecTypeFlags(), CLAM::Spectrum::SynchronizeTo(), CLAM::Spectrum::ToDB(), CLAM::Spectrum::ToLinear(), and CLAM::LPModel::ToSpectrum().
|
static |
Definition at line 46 of file SpecTypeFlags.hxx.
|
static |
Definition at line 45 of file SpecTypeFlags.hxx.
1.8.1