CLAM-Development
1.4.0
|
This class implements a type that is dynamic. More...
#include <DynamicType.hxx>
Classes | |
class | AttributePositionBase |
struct | TAttr |
struct | TDynInfo |
Public Types | |
enum | { idLength = 120, typeLength = 120 } |
Public Member Functions | |
DynamicType (const int nAttr) | |
Constructs a DynamicType object that can hold. | |
DynamicType (const DynamicType &prototype, const bool shareData, const bool deepCopy) | |
Copy constructor of a dynamic Type. | |
DynamicType (const DynamicType &prototype) | |
virtual | ~DynamicType () |
virtual const char * | GetClassName () const =0 |
Return the class name. | |
void | CopyInit (const DynamicType &dt) |
This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted. | |
bool | UpdateData () |
Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done. | |
unsigned | GetNDynamicAttributes () const |
const char * | GetDynamicAttributeName (unsigned i) |
virtual const std::type_info & | GetTypeId (unsigned i) const =0 |
bool | AttributeIsComponent (unsigned i) const |
bool | AttributeIsDynamictype (unsigned i) const |
bool | IsAttributeInstantiated (unsigned i) const |
const void * | GetAttributeAsVoidPtr (unsigned i) const |
const Component * | GetAttributeAsComponent (unsigned i) const |
Component * | GetAttributeAsComponent (unsigned i) |
void | FullfilsInvariant () const |
virtual Component * | DeepCopy () const |
void | Debug () const |
virtual void | StoreOn (CLAM::Storage &storage) const |
Stores component's subitems on the given Storage. | |
virtual void | LoadFrom (CLAM::Storage &storage) |
Loads component's subitems from the given Storage. | |
![]() | |
virtual | ~Component () |
Protected Types | |
enum | { shrinkThreshold = 80 } |
Protected Member Functions | |
void | DefaultInit () |
The concrete dynamic type constructor calls DefaultInit(). | |
virtual void | InformAll () |
implemented by the macros in the concrete class. | |
void | InformTypedAttr_ (unsigned id, const char *name, unsigned size, const char *type, const bool isPtr, const t_new, const t_new_copy, const t_destructor, const Component *ptr) |
void | InformTypedAttr_ (unsigned id, const char *name, unsigned size, const char *type, const bool isPtr, const t_new, const t_new_copy, const t_destructor, const DynamicType *ptr) |
void | InformTypedAttr_ (unsigned id, const char *name, unsigned size, const char *type, const bool isPtr, const t_new, const t_new_copy, const t_destructor, const void *ptr) |
void | AddAttr_ (const unsigned i, const unsigned size) |
void | RemoveAttr_ (const unsigned id) |
virtual DynamicType & | GetDynamicTypeCopy (const bool shareData=false, const bool deep=false) const =0 |
virtual Component * | ShallowCopy () const |
DynamicType & | operator= (const DynamicType &source) |
unsigned | GetNumAttr () const |
unsigned | GetNumActiveAttr () const |
char * | GetData () const |
void | SetData (char *srcData) |
TDynInfo * | GetDynamicTable () const |
TAttr * | GetTypeDescTable () const |
unsigned | GetDataSize () const |
bool | IsInstanciate () const |
bool | OwnsItsMemory () const |
void | SetOwnsItsMemory (const bool owns) |
bool | ExistAttr (unsigned id) const |
void | SetPreAllocateAllAttributes () |
int | DynTableRefCounter () |
void | InitDynTableRefCounter () |
int | DecrementDynTableRefCounter () |
int | IncrementDynTableRefCounter () |
virtual void | StoreDynAttributes (CLAM::Storage &s) const =0 |
virtual void | LoadDynAttributes (CLAM::Storage &s)=0 |
template<typename AttribType > | |
void | StoreAttribute (StaticTrue *asLeave, CLAM::Storage &s, AttribType &object, const char *name) const |
template<typename AttribType > | |
void | StoreAttribute (StaticFalse *asLeave, CLAM::Storage &s, AttribType &object, const char *name) const |
template<typename AttribType > | |
void | StoreIterableAttribute (CLAM::Storage &s, AttribType &object, const char *name, const char *elemName) const |
template<typename AttribType > | |
bool | LoadAttribute (StaticTrue *asLeave, CLAM::Storage &s, AttribType &object, const char *name) |
template<typename AttribType > | |
bool | LoadAttribute (StaticFalse *asLeave, CLAM::Storage &s, AttribType &object, const char *name) |
template<typename AttribType > | |
bool | LoadIterableAttribute (CLAM::Storage &s, AttribType &object, const char *name, const char *elemName) |
Protected Attributes | |
unsigned | numActiveAttr |
char * | data |
TDynInfo * | dynamicTable |
TAttr * | typeDescTable |
unsigned | dataSize |
bool | bOwnsItsMemory |
unsigned | numAttr |
unsigned | maxAttrSize |
unsigned | allocatedDataSize |
This class implements a type that is dynamic.
That is, it allows to add & remove fields or attributes at run time, optimizing this way the memory used. All the dynamic attributes are nevertheless perceived typed. So the compiler can garant the type consistency in every access to the dynamic attributes. It also allows herarchic structures and implements de Component interface so it can be stored all the tree (to XML format, for example) and can be copied (swallow or deep copy). (see the methods: SwallowCopy, DeepCopy and StoreOn )
In this class there is implemented all the memory management, but is an abstract class: to work with dynamic types, is necessary to define a concrete dynamic type (derives from this). A concrete dynamic type must be defined following a very specific set of rules; basically the attributes are registered using a macros mechanism that expand a known interface for accessing attributes.
As these methods are expanded by macros, they can not be documented inside the concrete dynamic type. Hence they will be documented here:
Definition at line 70 of file DynamicType.hxx.
anonymous enum |
Definition at line 193 of file DynamicType.hxx.
|
protected |
Definition at line 196 of file DynamicType.hxx.
CLAM::DynamicType::DynamicType | ( | const int | nAttr | ) |
Constructs a DynamicType object that can hold.
nAttr | attributes. This constructor must be only used from the concrete dyn. type constructor. This constructor creates a dynamic type that is a new prototype. That means that has its own dynamic information (which attrs. are instanciated, etc.) Furthermore, the new object is set owner of its memory. |
Definition at line 49 of file DynamicType.cxx.
References allocatedDataSize, bOwnsItsMemory, data, dataSize, dynamicTable, CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, InitDynTableRefCounter(), maxAttrSize, numActiveAttr, numAttr, and CLAM::DynamicType::TDynInfo::offs.
CLAM::DynamicType::DynamicType | ( | const DynamicType & | prototype, |
const bool | shareData, | ||
const bool | deepCopy = true |
||
) |
Copy constructor of a dynamic Type.
This constructor must be only used from the concrete dyn. type constructor. The created object will use the dynamic type description of anotyer dynamic Type.
prototype | Another dynamic type from which the dynamic shape is taken. |
shareData | Tells whether the new object will share the same data of the prototype, or not. |
Definition at line 72 of file DynamicType.cxx.
References allocatedDataSize, data, dataSize, dynamicTable, IsInstanciate(), numActiveAttr, and typeDescTable.
CLAM::DynamicType::DynamicType | ( | const DynamicType & | prototype | ) |
Definition at line 99 of file DynamicType.cxx.
References allocatedDataSize, data, dataSize, dynamicTable, FullfilsInvariant(), IsInstanciate(), numActiveAttr, and typeDescTable.
|
virtual |
Definition at line 122 of file DynamicType.cxx.
Definition at line 185 of file DynamicType.cxx.
References dataSize, DecrementDynTableRefCounter(), dynamicTable, DynTableRefCounter(), FullfilsInvariant(), CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, InitDynTableRefCounter(), numActiveAttr, and numAttr.
|
inline |
Definition at line 175 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, and typeDescTable.
|
inline |
Definition at line 176 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isDynamicType, and typeDescTable.
|
inline |
This method allows custom code for the copy-constructor of a dynamic type, since the copy-constructor is macro expanded and can not be overwritted.
If the writter of a concrete dynamic type writes more copy-constructors, he/she should include manually the call of the CopyInit(). Here we give the default (void) implementation.
Definition at line 133 of file DynamicType.hxx.
void CLAM::DynamicType::Debug | ( | ) | const |
Definition at line 823 of file DynamicType.cxx.
References allocatedDataSize, dataSize, CLAM::XmlStorage::Dump(), dynamicTable, ExistAttr(), GetClassName(), CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, CLAM::DynamicType::TAttr::id, CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isPointer, CLAM::DynamicType::TAttr::isStorable, maxAttrSize, numAttr, CLAM::DynamicType::TDynInfo::offs, CLAM::DynamicType::TAttr::offset, CLAM::DynamicType::TAttr::size, CLAM::DynamicType::TAttr::type, and typeDescTable.
|
inlineprotected |
Definition at line 608 of file DynamicType.cxx.
References dynamicTable, numAttr, and CLAM::DynamicType::TDynInfo::offs.
Referenced by AddAttr_(), and RemoveAttr_().
|
virtual |
Reimplemented from CLAM::Component.
Definition at line 630 of file DynamicType.cxx.
References GetDynamicTypeCopy().
Referenced by CLAM::ProcessingDefinitionAdapter::LoadFrom().
|
inlineprotected |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented in CLAM::ControlTraceWriterConfig, CLAM::EnvExtractorConfig, CLAM::SpectralDescriptors, CLAM::SMSTransformationChainConfig, CLAM::FDFilterGenConfig, CLAM::ControlTraceReaderConfig, CLAM::Envelope, CLAM::Segment, CLAM::Frame, CLAM::PitchNote, CLAM::SpectralPeakArray, CLAM::SimpleOscillatorConfig, CLAM::Spectrum, CLAM::WindowGeneratorConfig, CLAM::SegmentatorConfig, CLAM::SpectralPeak, CLAM::FundFreqDetectConfig, CLAM::OutControlSenderConfig, CLAM::WaveGeneratorConfig, CLAM::SegmentSMSMorphConfig, CLAM::NormalizationConfig, CLAM::MIDIIOConfig, CLAM::AudioIOConfig, CLAM::MonoAudioFileReaderConfig, CLAM::Audio, CLAM::Melody, CLAM::ControllerConfig, CLAM::MultiChannelAudioFileReaderConfig, CLAM::SpectrumConfig, CLAM::SynthSineSpectrumConfig, CLAM::MediaTime, CLAM::EnvelopeConfig, CLAM::MultiChannelAudioFileWriterConfig, CLAM::SDIFOutConfig, CLAM::Fundamental, CLAM::TokenDelayConfig, CLAM::MIDIMelody, CLAM::MelFilterBankConfig, CLAM::SMSTransformationChaineeConfig, CLAM::MonoAudioFileWriterConfig, CLAM::MelSpectrum, CLAM::SegmentTransformationConfig, CLAM::Control2DataConfig, CLAM::MIDIClockerConfig, CLAM::LPModel, CLAM::CepstralTransformConfig, CLAM::CleanTracksConfig, CLAM::MelCepstrum, CLAM::SDIFInConfig, CLAM::SMSTimeStretchConfig, CLAM::SinTrackingConfig, CLAM::FrameInterpConfig, CLAM::EnvelopeGeneratorConfig, CLAM::SegmentSMSTimeStretchConfig, CLAM::AudioFileHeader, CLAM::PeriodogramPeak, CLAM::LPCConfig, CLAM::AudioAmplifierConfig, CLAM::AudioAmplifierConfig, CLAM::PeaksInterpConfig, CLAM::OscillatorConfig, CLAM::ADSRConfig, CLAM::MIDIDispatcherConfig, CLAM::EnvModulatorConfig, CLAM::AudioTextDescriptors, CLAM::AudioMixerConfig, CLAM::AutoPannerConfig, CLAM::ControlMapperConfig, CLAM::BinaryControlOpConfig, CLAM::SpectralEnvelopeExtractConfig, CLAM::DispatcherConfig, CLAM::FFTConfig, CLAM::SpecAdderConfig, CLAM::SpecInterpConfig, CLAM::ControlSourceConfig, CLAM::SampleMetadata, CLAM::PhaseManagementConfig, CLAM::SMSHarmonizerConfig, CLAM::IFFTConfig, CLAM::ControlConfig, CLAM::ERB_SpaceGenConfig, CLAM::ControlSinkConfig, CLAM::OverlapAddConfig, CLAM::CircularShiftConfig, CLAM::SMSMorphConfig, CLAM::SimpleLoopMetadata, CLAM::TonalAnalysisConfig, and CLAM::FlagControlConfig.
Definition at line 105 of file DynamicType.hxx.
|
inlineprotected |
Definition at line 595 of file DynamicType.cxx.
References dynamicTable, numAttr, and CLAM::DynamicType::TDynInfo::offs.
Referenced by AddAttr_(), and RemoveAttr_().
|
inlineprotected |
Definition at line 365 of file DynamicType.hxx.
References data, dynamicTable, CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, and CLAM::DynamicType::TDynInfo::offs.
Referenced by Debug().
void CLAM::DynamicType::FullfilsInvariant | ( | ) | const |
Definition at line 747 of file DynamicType.cxx.
References allocatedDataSize, data, dataSize, dynamicTable, GetClassName(), CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, numAttr, CLAM::DynamicType::TDynInfo::offs, CLAM::DynamicType::TAttr::size, and typeDescTable.
Referenced by AddAttr_(), DynamicType(), operator=(), RemoveAttr_(), and UpdateData().
Definition at line 181 of file DynamicType.hxx.
References typeDescTable.
Definition at line 185 of file DynamicType.hxx.
References typeDescTable.
|
inline |
Definition at line 178 of file DynamicType.hxx.
|
pure virtual |
Return the class name.
Implements CLAM::Component.
Implemented in CLAM::ProcessingConfig.
Referenced by Debug(), and FullfilsInvariant().
|
inlineprotected |
Definition at line 233 of file DynamicType.hxx.
References data.
|
inlineprotected |
Definition at line 237 of file DynamicType.hxx.
References dataSize.
|
inline |
Definition at line 173 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::id, and typeDescTable.
|
inlineprotected |
Definition at line 235 of file DynamicType.hxx.
References dynamicTable.
|
protectedpure virtual |
Referenced by DeepCopy(), and ShallowCopy().
|
inline |
Definition at line 172 of file DynamicType.hxx.
References numAttr.
|
inlineprotected |
Definition at line 232 of file DynamicType.hxx.
References numActiveAttr.
|
inlineprotected |
Definition at line 231 of file DynamicType.hxx.
References numAttr.
|
inlineprotected |
Definition at line 236 of file DynamicType.hxx.
References typeDescTable.
|
pure virtual |
|
inlineprotected |
Definition at line 612 of file DynamicType.cxx.
References dynamicTable, numAttr, and CLAM::DynamicType::TDynInfo::offs.
|
inlineprotectedvirtual |
implemented by the macros in the concrete class.
Informs all attrs. to the typeDescTable. used in UpdateData().
Definition at line 113 of file DynamicType.hxx.
References CLAM_DEBUG_ASSERT, maxAttrSize, numAttr, CLAM::DynamicType::TAttr::offset, CLAM::DynamicType::TAttr::size, and typeDescTable.
|
inlineprotected |
Definition at line 403 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
|
inlineprotected |
Definition at line 412 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
|
inlineprotected |
Definition at line 394 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
|
inlineprotected |
Definition at line 599 of file DynamicType.cxx.
References dynamicTable, numAttr, and CLAM::DynamicType::TDynInfo::offs.
Referenced by AddAttr_(), DynamicType(), and RemoveAttr_().
|
inline |
Definition at line 177 of file DynamicType.hxx.
References dynamicTable, and CLAM::DynamicType::TDynInfo::offs.
|
inlineprotected |
|
inlineprotected |
Definition at line 340 of file DynamicType.hxx.
References CLAM::Storage::Load().
|
inlineprotected |
Definition at line 345 of file DynamicType.hxx.
References CLAM::Storage::Load().
|
protectedpure virtual |
Referenced by LoadFrom().
|
inlinevirtual |
Loads component's subitems from the given Storage.
storage | The given storage where the subitem will be loaded from |
Implements CLAM::Component.
Reimplemented in CLAM::SMSTransformationChaineeConfig.
Definition at line 308 of file DynamicType.hxx.
References LoadDynAttributes().
|
inlineprotected |
Definition at line 350 of file DynamicType.hxx.
References CLAM::Storage::Load().
|
protected |
Definition at line 731 of file DynamicType.cxx.
References FullfilsInvariant().
|
inlineprotected |
Definition at line 239 of file DynamicType.hxx.
References bOwnsItsMemory.
|
protected |
Definition at line 241 of file DynamicType.cxx.
References data, dataSize, DecrementDynTableRefCounter(), dynamicTable, DynTableRefCounter(), FullfilsInvariant(), CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, InitDynTableRefCounter(), numActiveAttr, numAttr, CLAM::DynamicType::TAttr::size, and typeDescTable.
|
inlineprotected |
Definition at line 234 of file DynamicType.hxx.
References data.
|
inlineprotected |
Definition at line 240 of file DynamicType.hxx.
References bOwnsItsMemory.
|
inlineprotected |
Definition at line 242 of file DynamicType.hxx.
Referenced by CLAM::Spectrum::Configure(), and CLAM::SpectrumConfig::DefaultInit().
|
protectedvirtual |
Reimplemented from CLAM::Component.
Definition at line 622 of file DynamicType.cxx.
References GetDynamicTypeCopy().
|
inlineprotected |
Definition at line 321 of file DynamicType.hxx.
References CLAM::Storage::Store().
|
inlineprotected |
Definition at line 327 of file DynamicType.hxx.
References CLAM::Storage::Store().
|
protectedpure virtual |
Referenced by StoreOn().
|
inlineprotected |
Definition at line 333 of file DynamicType.hxx.
References CLAM::Storage::Store().
|
inlinevirtual |
Stores component's subitems on the given Storage.
storage | The given storage where the subitem will be stored |
Implements CLAM::Component.
Reimplemented in CLAM::SMSTransformationChaineeConfig.
Definition at line 305 of file DynamicType.hxx.
References StoreDynAttributes().
Referenced by CLAM::SMSTransformationChaineeConfig::StoreOn().
bool CLAM::DynamicType::UpdateData | ( | ) |
Method used to resize the data space of the dynamic type, necessary when some AddXXX() / RemoveXXX() (where XXX is an attribute name) has been done.
This operation does not check it if has been some attributes changes. In the case that the object is "not owner" of its memory this flag is changed to "owner", and a new data table is created.
Definition at line 296 of file DynamicType.cxx.
References allocatedDataSize, bOwnsItsMemory, dataSize, dynamicTable, FullfilsInvariant(), maxAttrSize, and shrinkThreshold.
Referenced by CLAM::AudioDescriptors::AudioDescriptors(), CLAM::ControlPrinter::ConcreteConfigure(), CLAM::ControlSelector::ConcreteConfigure(), CLAM::ControlSource::ConcreteConfigure(), CLAM::ControlPrinterTyped::ConcreteConfigure(), CLAM::Spectrum::Configure(), CLAM::Envelope::Configure(), CLAM::SampleMetadata::ConfigureAfterRestore(), CLAM::SMSTransformationChaineeConfig::CopyInit(), CLAM::DataUtil::CopyResidualSpectrumsMembers(), CLAM::DataUtil::CopySpectralPeakArraysMembers(), CLAM::FlagControlConfig::DefaultInit(), CLAM::TonalAnalysisConfig::DefaultInit(), CLAM::SimpleLoopMetadata::DefaultInit(), CLAM::CircularShiftConfig::DefaultInit(), CLAM::SMSMorphConfig::DefaultInit(), CLAM::ERB_SpaceGenConfig::DefaultInit(), CLAM::OverlapAddConfig::DefaultInit(), CLAM::ControlConfig::DefaultInit(), CLAM::ControlSinkConfig::DefaultInit(), CLAM::IFFTConfig::DefaultInit(), CLAM::SpecAdderConfig::DefaultInit(), CLAM::SpecInterpConfig::DefaultInit(), CLAM::PhaseManagementConfig::DefaultInit(), CLAM::SampleMetadata::DefaultInit(), CLAM::FFTConfig::DefaultInit(), CLAM::SMSHarmonizerConfig::DefaultInit(), CLAM::ControlSourceConfig::DefaultInit(), CLAM::BinaryControlOpConfig::DefaultInit(), CLAM::SpectralEnvelopeExtractConfig::DefaultInit(), CLAM::DispatcherConfig::DefaultInit(), CLAM::AudioMixerConfig::DefaultInit(), CLAM::ControlMapperConfig::DefaultInit(), CLAM::AutoPannerConfig::DefaultInit(), CLAM::EnvModulatorConfig::DefaultInit(), CLAM::MIDIDispatcherConfig::DefaultInit(), CLAM::ADSRConfig::DefaultInit(), CLAM::OscillatorConfig::DefaultInit(), CLAM::PeriodogramPeak::DefaultInit(), CLAM::AudioAmplifierConfig::DefaultInit(), CLAM::LPCConfig::DefaultInit(), CLAM::PeaksInterpConfig::DefaultInit(), CLAM::EnvelopeGeneratorConfig::DefaultInit(), CLAM::FrameInterpConfig::DefaultInit(), CLAM::SegmentSMSTimeStretchConfig::DefaultInit(), CLAM::SinTrackingConfig::DefaultInit(), CLAM::SDIFInConfig::DefaultInit(), CLAM::SMSTimeStretchConfig::DefaultInit(), CLAM::MelCepstrum::DefaultInit(), CLAM::CleanTracksConfig::DefaultInit(), CLAM::LPModel::DefaultInit(), CLAM::CepstralTransformConfig::DefaultInit(), CLAM::MIDIClockerConfig::DefaultInit(), CLAM::Control2DataConfig::DefaultInit(), CLAM::MonoAudioFileWriterConfig::DefaultInit(), CLAM::SegmentTransformationConfig::DefaultInit(), CLAM::MelSpectrum::DefaultInit(), CLAM::MIDIMelody::DefaultInit(), CLAM::SMSTransformationChaineeConfig::DefaultInit(), CLAM::MelFilterBankConfig::DefaultInit(), CLAM::Fundamental::DefaultInit(), CLAM::TokenDelayConfig::DefaultInit(), CLAM::MultiChannelAudioFileWriterConfig::DefaultInit(), CLAM::SDIFOutConfig::DefaultInit(), CLAM::EnvelopeConfig::DefaultInit(), CLAM::MediaTime::DefaultInit(), CLAM::MultiChannelAudioFileReaderConfig::DefaultInit(), CLAM::SpectrumConfig::DefaultInit(), CLAM::SynthSineSpectrumConfig::DefaultInit(), CLAM::ControllerConfig::DefaultInit(), CLAM::MonoAudioFileReaderConfig::DefaultInit(), CLAM::Audio::DefaultInit(), CLAM::Melody::DefaultInit(), CLAM::AudioIOConfig::DefaultInit(), CLAM::MIDIIOConfig::DefaultInit(), CLAM::NormalizationConfig::DefaultInit(), CLAM::SegmentSMSMorphConfig::DefaultInit(), CLAM::WaveGeneratorConfig::DefaultInit(), CLAM::OutControlSenderConfig::DefaultInit(), CLAM::SpectralPeak::DefaultInit(), CLAM::FundFreqDetectConfig::DefaultInit(), CLAM::SegmentatorConfig::DefaultInit(), CLAM::WindowGeneratorConfig::DefaultInit(), CLAM::SimpleOscillatorConfig::DefaultInit(), CLAM::SpectralPeakArray::DefaultInit(), CLAM::PitchNote::DefaultInit(), CLAM::Frame::DefaultInit(), CLAM::Segment::DefaultInit(), CLAM::Envelope::DefaultInit(), CLAM::ControlTraceReaderConfig::DefaultInit(), CLAM::FDFilterGenConfig::DefaultInit(), CLAM::SMSTransformationChainConfig::DefaultInit(), CLAM::EnvExtractorConfig::DefaultInit(), CLAM::ControlTraceWriterConfig::DefaultInit(), CLAM::SpectralPeakArrayAdder::Do(), CLAM::SMSAnalysis::Do(), CLAM::LPC_AutoCorrelation::Do(), CLAM::FundFreqDetect::Do(), CLAM::SinTracking::Do(), CLAM::FDFilterGen::Do(), CLAM::Envelope::Envelope(), CLAM::FrameDescriptors::FrameDescriptors(), CLAM::MIDI2Melody::GenerateOutputData(), CLAM::Spectrum::GetConfig(), CLAM::PhaseManagement::Init(), CLAM::SMSSineFilter::InitBPF(), CLAM::SinusoidalSynthesis::InitFrame(), CLAM::SMSSynthesis::InitFrame(), CLAM::SpectralPeakArray::InitFromPrototype(), CLAM::SpectralPeakArray::InitPeak(), CLAM::SpectralPeakArray::InitSpectralPeak(), CLAM::SegmentSMSMorph::LoadSDIF(), CLAM::SDIFIn::LoadSDIFDataIntoSegment(), CLAM::LoopingSDIFFileReader::LoopingSDIFFileReader(), CLAM::operator*(), CLAM::operator+(), CLAM::SpectralPeakArray::operator+(), CLAM::AudioFile::ResetHeaderData(), CLAM::AudioCodecs::PCMCodec::RetrieveHeaderData(), CLAM::AudioCodecs::OggVorbisCodec::RetrieveHeaderData(), CLAM::AudioCodecs::MpegCodec::RetrieveHeaderData(), CLAM::AudioCodecs::OggVorbisCodec::RetrieveTextDescriptors(), CLAM::AudioCodecs::MpegCodec::RetrieveTextDescriptors(), CLAM::SegmentSMSHarmonizer::SegmentSMSHarmonizer(), CLAM::Spectrum::SetBPFSize(), CLAM::AudioFile::SetHeader(), CLAM::Segment::SetHoldsData(), CLAM::FrameDescriptors::SetpFrame(), CLAM::SegmentDescriptors::SetpSegment(), CLAM::AudioFileHeader::SetValues(), CLAM::SMSSineFilter::SMSSineFilter(), CLAM::SpectralDescriptors::SpectralDescriptors(), CLAM::SpectralPeakDescriptors::SpectralPeakDescriptors(), CLAM::SpectralShapeShift::SpectralShapeShift(), and CLAM::Spectrum::SynchronizeTo().
|
protected |
Definition at line 259 of file DynamicType.hxx.
Referenced by Debug(), DynamicType(), FullfilsInvariant(), and UpdateData().
|
protected |
Definition at line 256 of file DynamicType.hxx.
Referenced by DynamicType(), OwnsItsMemory(), SetOwnsItsMemory(), and UpdateData().
|
protected |
Definition at line 252 of file DynamicType.hxx.
Referenced by CLAM::SpectralDescriptors::ComputeLowFreqEnergyRelation(), CLAM::SpectralDescriptors::ComputeMaxMagFreq(), DynamicType(), ExistAttr(), FullfilsInvariant(), GetData(), IsInstanciate(), RemoveAttr_(), and SetData().
|
protected |
Definition at line 255 of file DynamicType.hxx.
Referenced by AddAttr_(), Debug(), DynamicType(), FullfilsInvariant(), GetDataSize(), RemoveAttr_(), and UpdateData().
|
protected |
Definition at line 253 of file DynamicType.hxx.
Referenced by AddAttr_(), Debug(), DecrementDynTableRefCounter(), DynamicType(), DynTableRefCounter(), ExistAttr(), FullfilsInvariant(), GetDynamicTable(), IncrementDynTableRefCounter(), InitDynTableRefCounter(), IsAttributeInstantiated(), RemoveAttr_(), and UpdateData().
|
protected |
Definition at line 258 of file DynamicType.hxx.
Referenced by Debug(), DynamicType(), InformAll(), and UpdateData().
|
protected |
Definition at line 251 of file DynamicType.hxx.
Referenced by AddAttr_(), DynamicType(), GetNumActiveAttr(), and RemoveAttr_().
|
protected |
Definition at line 257 of file DynamicType.hxx.
Referenced by AddAttr_(), Debug(), DecrementDynTableRefCounter(), DynamicType(), DynTableRefCounter(), FullfilsInvariant(), GetNDynamicAttributes(), GetNumAttr(), IncrementDynTableRefCounter(), InformAll(), InitDynTableRefCounter(), and RemoveAttr_().
|
protected |
Definition at line 254 of file DynamicType.hxx.
Referenced by AttributeIsComponent(), AttributeIsDynamictype(), Debug(), DynamicType(), FullfilsInvariant(), GetAttributeAsComponent(), GetDynamicAttributeName(), GetTypeDescTable(), InformAll(), InformTypedAttr_(), and RemoveAttr_().