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. | |
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.
anonymous enum [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 29 of file DynamicType.cxx.
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 52 of file DynamicType.cxx.
References dynamicTable, CLAM::DynamicType::TDynInfo::hasBeenAdded, CLAM::DynamicType::TDynInfo::hasBeenRemoved, and CLAM::DynamicType::TDynInfo::offs.
CLAM::DynamicType::DynamicType | ( | const DynamicType & | prototype | ) |
Definition at line 79 of file DynamicType.cxx.
CLAM::DynamicType::~DynamicType | ( | ) | [virtual] |
Definition at line 102 of file DynamicType.cxx.
Definition at line 165 of file DynamicType.cxx.
bool CLAM::DynamicType::AttributeIsComponent | ( | unsigned | i | ) | const [inline] |
Definition at line 175 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, and typeDescTable.
bool CLAM::DynamicType::AttributeIsDynamictype | ( | unsigned | i | ) | const [inline] |
Definition at line 176 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isDynamicType, and typeDescTable.
void CLAM::DynamicType::CopyInit | ( | const DynamicType & | dt | ) | [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 803 of file DynamicType.cxx.
int CLAM::DynamicType::DecrementDynTableRefCounter | ( | ) | [inline, protected] |
Definition at line 588 of file DynamicType.cxx.
Component * CLAM::DynamicType::DeepCopy | ( | ) | const [virtual] |
Reimplemented from CLAM::Component.
Definition at line 610 of file DynamicType.cxx.
Referenced by CLAM::ProcessingDefinitionAdapter::LoadFrom().
void CLAM::DynamicType::DefaultInit | ( | void | ) | [inline, protected] |
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::AudioFileHeader, CLAM::AudioTextDescriptors, CLAM::MonoAudioFileReaderConfig, CLAM::MonoAudioFileWriterConfig, CLAM::MultiChannelAudioFileReaderConfig, CLAM::MultiChannelAudioFileWriterConfig, CLAM::Audio, CLAM::EnvelopeConfig, CLAM::Envelope, CLAM::Frame, CLAM::Fundamental, CLAM::LPModel, CLAM::MelCepstrum, CLAM::MelSpectrum, CLAM::Segment, CLAM::SpectralPeak, CLAM::SpectralPeakArray, CLAM::Spectrum, CLAM::SpectrumConfig, CLAM::MediaTime, CLAM::Melody, CLAM::MIDIMelody, CLAM::PitchNote, CLAM::PeriodogramPeak, CLAM::SpectralDescriptors, CLAM::BinaryControlOpConfig, CLAM::ControlConfig, CLAM::CepstralTransformConfig, CLAM::CircularShiftConfig, CLAM::CleanTracksConfig, CLAM::ERB_SpaceGenConfig, CLAM::FFTConfig, CLAM::FundFreqDetectConfig, CLAM::LPCConfig, CLAM::MelFilterBankConfig, CLAM::SegmentatorConfig, CLAM::SinTrackingConfig, CLAM::SpectralEnvelopeExtractConfig, CLAM::TonalAnalysisConfig, CLAM::WindowGeneratorConfig, CLAM::AudioAmplifierConfig, CLAM::AudioAmplifierConfig, CLAM::AudioMixerConfig, CLAM::FrameInterpConfig, CLAM::PeaksInterpConfig, CLAM::SpecAdderConfig, CLAM::SpecInterpConfig, CLAM::AudioIOConfig, CLAM::AutoPannerConfig, CLAM::Control2DataConfig, CLAM::ControllerConfig, CLAM::ControlMapperConfig, CLAM::ControlTraceReaderConfig, CLAM::ControlTraceWriterConfig, CLAM::FlagControlConfig, CLAM::OutControlSenderConfig, CLAM::ControlSinkConfig, CLAM::ControlSourceConfig, CLAM::ADSRConfig, CLAM::DispatcherConfig, CLAM::OscillatorConfig, CLAM::SimpleOscillatorConfig, CLAM::WaveGeneratorConfig, CLAM::MIDIClockerConfig, CLAM::MIDIDispatcherConfig, CLAM::MIDIIOConfig, CLAM::MIDIKeyboardConfig, CLAM::SampleMetadata, CLAM::SDIFInConfig, CLAM::SDIFOutConfig, CLAM::SimpleLoopMetadata, CLAM::IFFTConfig, CLAM::OverlapAddConfig, CLAM::PhaseManagementConfig, CLAM::SynthSineSpectrumConfig, CLAM::EnvExtractorConfig, CLAM::EnvelopeGeneratorConfig, CLAM::EnvModulatorConfig, CLAM::FDFilterGenConfig, CLAM::NormalizationConfig, CLAM::SegmentSMSMorphConfig, CLAM::SegmentSMSTimeStretchConfig, CLAM::SegmentTransformationConfig, CLAM::SMSHarmonizerConfig, CLAM::SMSMorphConfig, CLAM::SMSTimeStretchConfig, CLAM::SMSTransformationChaineeConfig, CLAM::SMSTransformationChainConfig, and CLAM::TokenDelayConfig.
Definition at line 105 of file DynamicType.hxx.
int CLAM::DynamicType::DynTableRefCounter | ( | ) | [inline, protected] |
Definition at line 575 of file DynamicType.cxx.
References CLAM::DynamicType::TAttr::newObj, and typeDescTable.
bool CLAM::DynamicType::ExistAttr | ( | unsigned | id | ) | const [inline, protected] |
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 operator=().
void CLAM::DynamicType::FullfilsInvariant | ( | ) | const |
Definition at line 727 of file DynamicType.cxx.
Definition at line 185 of file DynamicType.hxx.
References typeDescTable.
Definition at line 181 of file DynamicType.hxx.
References typeDescTable.
const void* CLAM::DynamicType::GetAttributeAsVoidPtr | ( | unsigned | i | ) | const [inline] |
Definition at line 178 of file DynamicType.hxx.
virtual const char* CLAM::DynamicType::GetClassName | ( | ) | const [pure virtual] |
char* CLAM::DynamicType::GetData | ( | ) | const [inline, protected] |
Definition at line 233 of file DynamicType.hxx.
References data.
unsigned CLAM::DynamicType::GetDataSize | ( | ) | const [inline, protected] |
Definition at line 237 of file DynamicType.hxx.
References dataSize.
const char* CLAM::DynamicType::GetDynamicAttributeName | ( | unsigned | i | ) | [inline] |
Definition at line 173 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::id, and typeDescTable.
TDynInfo* CLAM::DynamicType::GetDynamicTable | ( | ) | const [inline, protected] |
Definition at line 235 of file DynamicType.hxx.
References dynamicTable.
virtual DynamicType& CLAM::DynamicType::GetDynamicTypeCopy | ( | const bool | shareData = false , |
|
const bool | deep = false | |||
) | const [protected, pure virtual] |
unsigned CLAM::DynamicType::GetNDynamicAttributes | ( | ) | const [inline] |
Definition at line 172 of file DynamicType.hxx.
References numAttr.
unsigned CLAM::DynamicType::GetNumActiveAttr | ( | ) | const [inline, protected] |
Definition at line 232 of file DynamicType.hxx.
References numActiveAttr.
unsigned CLAM::DynamicType::GetNumAttr | ( | ) | const [inline, protected] |
Definition at line 231 of file DynamicType.hxx.
References numAttr.
TAttr* CLAM::DynamicType::GetTypeDescTable | ( | ) | const [inline, protected] |
Definition at line 236 of file DynamicType.hxx.
References typeDescTable.
virtual const std::type_info& CLAM::DynamicType::GetTypeId | ( | unsigned | i | ) | const [pure virtual] |
int CLAM::DynamicType::IncrementDynTableRefCounter | ( | ) | [inline, protected] |
Definition at line 592 of file DynamicType.cxx.
References dynamicTable, and CLAM::DynamicType::TDynInfo::offs.
virtual void CLAM::DynamicType::InformAll | ( | ) | [inline, protected, virtual] |
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.
void CLAM::DynamicType::InformTypedAttr_ | ( | unsigned | id, | |
const char * | name, | |||
unsigned | size, | |||
const char * | type, | |||
const bool | isPtr, | |||
const t_new | fnew, | |||
const t_new_copy | fcopy, | |||
const t_destructor | fdestr, | |||
const void * | ptr | |||
) | [inline, protected] |
Definition at line 394 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
void CLAM::DynamicType::InformTypedAttr_ | ( | unsigned | id, | |
const char * | name, | |||
unsigned | size, | |||
const char * | type, | |||
const bool | isPtr, | |||
const t_new | fnew, | |||
const t_new_copy | fcopy, | |||
const t_destructor | fdestr, | |||
const DynamicType * | ptr | |||
) | [inline, protected] |
Definition at line 412 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
void CLAM::DynamicType::InformTypedAttr_ | ( | unsigned | id, | |
const char * | name, | |||
unsigned | size, | |||
const char * | type, | |||
const bool | isPtr, | |||
const t_new | fnew, | |||
const t_new_copy | fcopy, | |||
const t_destructor | fdestr, | |||
const Component * | ptr | |||
) | [inline, protected] |
Definition at line 403 of file DynamicType.hxx.
References CLAM::DynamicType::TAttr::isComponent, CLAM::DynamicType::TAttr::isDynamicType, CLAM::DynamicType::TAttr::isStorable, and typeDescTable.
void CLAM::DynamicType::InitDynTableRefCounter | ( | ) | [inline, protected] |
Definition at line 579 of file DynamicType.cxx.
bool CLAM::DynamicType::IsAttributeInstantiated | ( | unsigned | i | ) | const [inline] |
Definition at line 177 of file DynamicType.hxx.
References dynamicTable, and CLAM::DynamicType::TDynInfo::offs.
bool CLAM::DynamicType::IsInstanciate | ( | ) | const [inline, protected] |
Definition at line 238 of file DynamicType.hxx.
References data.
bool CLAM::DynamicType::LoadAttribute | ( | StaticFalse * | asLeave, | |
CLAM::Storage & | s, | |||
AttribType & | object, | |||
const char * | name | |||
) | [inline, protected] |
Definition at line 345 of file DynamicType.hxx.
References CLAM::Storage::Load().
bool CLAM::DynamicType::LoadAttribute | ( | StaticTrue * | asLeave, | |
CLAM::Storage & | s, | |||
AttribType & | object, | |||
const char * | name | |||
) | [inline, protected] |
Definition at line 340 of file DynamicType.hxx.
References CLAM::Storage::Load().
virtual void CLAM::DynamicType::LoadDynAttributes | ( | CLAM::Storage & | s | ) | [protected, pure virtual] |
Referenced by LoadFrom().
virtual void CLAM::DynamicType::LoadFrom | ( | CLAM::Storage & | storage | ) | [inline, virtual] |
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().
bool CLAM::DynamicType::LoadIterableAttribute | ( | CLAM::Storage & | s, | |
AttribType & | object, | |||
const char * | name, | |||
const char * | elemName | |||
) | [inline, protected] |
Definition at line 350 of file DynamicType.hxx.
References CLAM::Storage::Load().
DynamicType & CLAM::DynamicType::operator= | ( | const DynamicType & | source | ) | [protected] |
Definition at line 711 of file DynamicType.cxx.
References ExistAttr(), CLAM::DynamicType::TAttr::newObjCopy, and typeDescTable.
bool CLAM::DynamicType::OwnsItsMemory | ( | ) | const [inline, protected] |
Definition at line 239 of file DynamicType.hxx.
References bOwnsItsMemory.
void CLAM::DynamicType::RemoveAttr_ | ( | const unsigned | id | ) | [protected] |
Definition at line 221 of file DynamicType.cxx.
void CLAM::DynamicType::SetData | ( | char * | srcData | ) | [inline, protected] |
Definition at line 234 of file DynamicType.hxx.
References data.
void CLAM::DynamicType::SetOwnsItsMemory | ( | const bool | owns | ) | [inline, protected] |
Definition at line 240 of file DynamicType.hxx.
References bOwnsItsMemory.
void CLAM::DynamicType::SetPreAllocateAllAttributes | ( | ) | [inline, protected] |
Definition at line 242 of file DynamicType.hxx.
Referenced by CLAM::Spectrum::Configure(), and CLAM::SpectrumConfig::DefaultInit().
Component * CLAM::DynamicType::ShallowCopy | ( | ) | const [protected, virtual] |
Reimplemented from CLAM::Component.
Definition at line 602 of file DynamicType.cxx.
void CLAM::DynamicType::StoreAttribute | ( | StaticFalse * | asLeave, | |
CLAM::Storage & | s, | |||
AttribType & | object, | |||
const char * | name | |||
) | const [inline, protected] |
Definition at line 327 of file DynamicType.hxx.
References CLAM::Storage::Store().
void CLAM::DynamicType::StoreAttribute | ( | StaticTrue * | asLeave, | |
CLAM::Storage & | s, | |||
AttribType & | object, | |||
const char * | name | |||
) | const [inline, protected] |
Definition at line 321 of file DynamicType.hxx.
References CLAM::Storage::Store().
virtual void CLAM::DynamicType::StoreDynAttributes | ( | CLAM::Storage & | s | ) | const [protected, pure virtual] |
Referenced by StoreOn().
void CLAM::DynamicType::StoreIterableAttribute | ( | CLAM::Storage & | s, | |
AttribType & | object, | |||
const char * | name, | |||
const char * | elemName | |||
) | const [inline, protected] |
Definition at line 333 of file DynamicType.hxx.
References CLAM::Storage::Store().
virtual void CLAM::DynamicType::StoreOn | ( | CLAM::Storage & | storage | ) | const [inline, virtual] |
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().
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 276 of file DynamicType.cxx.
Referenced by CLAM::SMSTransformationChainConfig::AddConfiguration(), CLAM::Spectrum::Configure(), CLAM::SMSTransformationChaineeConfig::CopyInit(), CLAM::DataUtil::CopyResidualSpectrumsMembers(), CLAM::DataUtil::CopySpectralPeakArraysMembers(), CLAM::WindowGeneratorConfig::DefaultInit(), CLAM::WaveGeneratorConfig::DefaultInit(), CLAM::TokenDelayConfig::DefaultInit(), CLAM::SynthSineSpectrumConfig::DefaultInit(), CLAM::SpecInterpConfig::DefaultInit(), CLAM::SpecAdderConfig::DefaultInit(), CLAM::SpectrumConfig::DefaultInit(), CLAM::PeaksInterpConfig::DefaultInit(), CLAM::SpectralPeakArray::DefaultInit(), CLAM::SpectralPeak::DefaultInit(), CLAM::SpectralEnvelopeExtractConfig::DefaultInit(), CLAM::SMSTimeStretchConfig::DefaultInit(), CLAM::SMSMorphConfig::DefaultInit(), CLAM::SMSHarmonizerConfig::DefaultInit(), CLAM::SinTrackingConfig::DefaultInit(), CLAM::SimpleOscillatorConfig::DefaultInit(), CLAM::SimpleLoopMetadata::DefaultInit(), CLAM::SegmentTransformationConfig::DefaultInit(), CLAM::SegmentSMSTimeStretchConfig::DefaultInit(), CLAM::SegmentSMSMorphConfig::DefaultInit(), CLAM::SegmentatorConfig::DefaultInit(), CLAM::Segment::DefaultInit(), CLAM::SDIFOutConfig::DefaultInit(), CLAM::SDIFInConfig::DefaultInit(), CLAM::SampleMetadata::DefaultInit(), CLAM::PitchNote::DefaultInit(), CLAM::PhaseManagementConfig::DefaultInit(), CLAM::PeriodogramPeak::DefaultInit(), CLAM::OverlapAddConfig::DefaultInit(), CLAM::OutControlSenderConfig::DefaultInit(), CLAM::OscillatorConfig::DefaultInit(), CLAM::NormalizationConfig::DefaultInit(), CLAM::MultiChannelAudioFileWriterConfig::DefaultInit(), CLAM::MultiChannelAudioFileReaderConfig::DefaultInit(), CLAM::MonoAudioFileWriterConfig::DefaultInit(), CLAM::MonoAudioFileReaderConfig::DefaultInit(), CLAM::MIDIMelody::DefaultInit(), CLAM::MIDIIOConfig::DefaultInit(), CLAM::MIDIClockerConfig::DefaultInit(), CLAM::Melody::DefaultInit(), CLAM::MediaTime::DefaultInit(), CLAM::IFFTConfig::DefaultInit(), CLAM::FundFreqDetectConfig::DefaultInit(), CLAM::Fundamental::DefaultInit(), CLAM::FrameInterpConfig::DefaultInit(), CLAM::Frame::DefaultInit(), CLAM::FFTConfig::DefaultInit(), CLAM::FDFilterGenConfig::DefaultInit(), CLAM::ERB_SpaceGenConfig::DefaultInit(), CLAM::EnvModulatorConfig::DefaultInit(), CLAM::EnvelopeGeneratorConfig::DefaultInit(), CLAM::EnvExtractorConfig::DefaultInit(), CLAM::EnvelopeConfig::DefaultInit(), CLAM::DispatcherConfig::DefaultInit(), CLAM::ControlSourceConfig::DefaultInit(), CLAM::ControlSinkConfig::DefaultInit(), CLAM::ControllerConfig::DefaultInit(), CLAM::ControlConfig::DefaultInit(), CLAM::Control2DataConfig::DefaultInit(), CLAM::CleanTracksConfig::DefaultInit(), CLAM::CircularShiftConfig::DefaultInit(), CLAM::AudioMixerConfig::DefaultInit(), CLAM::AudioIOConfig::DefaultInit(), CLAM::Audio::DefaultInit(), CLAM::SpectralPeakArrayAdder::Do(), CLAM::FundFreqDetect::Do(), CLAM::FDFilterGen::Do(), CLAM::MIDI2Melody::GenerateOutputData(), CLAM::Spectrum::GetConfig(), CLAM::SMSSineFilter::InitBPF(), CLAM::SpectralPeakArray::InitFromPrototype(), CLAM::SpectralPeakArray::InitPeak(), CLAM::SpectralPeakArray::InitSpectralPeak(), CLAM::SDIFIn::LoadSDIFDataIntoSegment(), CLAM::LPC_AutoCorrelation::LPC_AutoCorrelation(), CLAM::AudioFileSource::OpenExisting(), CLAM::SpectralPeakArray::operator+(), CLAM::AudioCodecs::PCMCodec::RetrieveHeaderData(), CLAM::SegmentDescriptors::SegmentDescriptors(), CLAM::SegmentSMSHarmonizer::SegmentSMSHarmonizer(), CLAM::Spectrum::SetBPFSize(), CLAM::AudioFileHeader::SetValues(), CLAM::SMSSineFilter::SMSSineFilter(), CLAM::SpectralDescriptors::SpectralDescriptors(), CLAM::SpectralPeakDescriptors::SpectralPeakDescriptors(), CLAM::SpectralShapeShift::SpectralShapeShift(), CLAM::SMSTransformationChaineeConfig::StoreOn(), and CLAM::Spectrum::SynchronizeTo().
unsigned CLAM::DynamicType::allocatedDataSize [protected] |
Definition at line 259 of file DynamicType.hxx.
bool CLAM::DynamicType::bOwnsItsMemory [protected] |
Definition at line 256 of file DynamicType.hxx.
Referenced by OwnsItsMemory(), and SetOwnsItsMemory().
char* CLAM::DynamicType::data [protected] |
Definition at line 252 of file DynamicType.hxx.
Referenced by CLAM::SpectralDescriptors::ComputeLowFreqEnergyRelation(), CLAM::SpectralDescriptors::ComputeMaxMagFreq(), ExistAttr(), GetData(), IsInstanciate(), and SetData().
unsigned CLAM::DynamicType::dataSize [protected] |
Definition at line 255 of file DynamicType.hxx.
Referenced by GetDataSize().
TDynInfo* CLAM::DynamicType::dynamicTable [protected] |
Definition at line 253 of file DynamicType.hxx.
Referenced by DynamicType(), ExistAttr(), GetDynamicTable(), IncrementDynTableRefCounter(), and IsAttributeInstantiated().
unsigned CLAM::DynamicType::maxAttrSize [protected] |
Definition at line 258 of file DynamicType.hxx.
Referenced by InformAll().
unsigned CLAM::DynamicType::numActiveAttr [protected] |
Definition at line 251 of file DynamicType.hxx.
Referenced by GetNumActiveAttr().
unsigned CLAM::DynamicType::numAttr [protected] |
Definition at line 257 of file DynamicType.hxx.
Referenced by GetNDynamicAttributes(), GetNumAttr(), and InformAll().
TAttr* CLAM::DynamicType::typeDescTable [protected] |
Definition at line 254 of file DynamicType.hxx.
Referenced by AttributeIsComponent(), AttributeIsDynamictype(), DynTableRefCounter(), GetAttributeAsComponent(), GetDynamicAttributeName(), GetTypeDescTable(), InformAll(), InformTypedAttr_(), and operator=().