CLAM::Region Class Reference

#include <Region.hxx>

List of all members.

Public Types

typedef std::list< Region * > ReadingRegionsList
typedef
ReadingRegionsList::iterator 
ReadingRegionsIterator

Public Member Functions

 Region ()
virtual ~Region ()
const long & Pos () const
const intSize () const
const intHop () const
const intBeginDistance ()
void Pos (const long &pos)
void Size (const int &size)
void Hop (const int &hop)
void BeginDistance (const int &dist)
virtual void RemoveProducer ()
virtual RegionProducerRegion ()=0
virtual ReadingRegionsIterator BeginReaders ()=0
virtual ReadingRegionsIterator EndReaders ()=0
virtual void RemoveRegion (Region &Region)

Protected Member Functions

virtual void SizeChanged (const int &newSize)=0

Detailed Description

Definition at line 30 of file Region.hxx.


Member Typedef Documentation

typedef ReadingRegionsList::iterator CLAM::Region::ReadingRegionsIterator

Definition at line 34 of file Region.hxx.

Definition at line 33 of file Region.hxx.


Constructor & Destructor Documentation

CLAM::Region::Region (  ) 

Definition at line 28 of file Region.cxx.

CLAM::Region::~Region (  )  [virtual]

Definition at line 33 of file Region.cxx.


Member Function Documentation

void CLAM::Region::BeginDistance ( const int dist  ) 

Definition at line 57 of file Region.cxx.

const int & CLAM::Region::BeginDistance (  ) 
virtual ReadingRegionsIterator CLAM::Region::BeginReaders (  )  [pure virtual]

Implemented in CLAM::ReadingRegion< WritingRegion >, CLAM::WritingRegion< Token, DataStructure >, CLAM::ReadingRegion< WritingRegion< MelSpectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Fundamental, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< DiscontinuousSegmentation, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< SpectralPeakArray, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Audio, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Envelope, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::pair< CLAM::TData, CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Frame, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDIMelody, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, DataStructure > >, CLAM::ReadingRegion< WritingRegion< MelCepstrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< T, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Segment, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Spectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDISong, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< LPModel, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< TData, PhantomBuffer > >, CLAM::WritingRegion< TData >, CLAM::WritingRegion< MelCepstrum >, CLAM::WritingRegion< Token >, CLAM::WritingRegion< MIDIMelody >, CLAM::WritingRegion< std::pair< CLAM::TData, CLAM::TData > >, CLAM::WritingRegion< T >, CLAM::WritingRegion< Envelope >, CLAM::WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > > >, CLAM::WritingRegion< Segment >, CLAM::WritingRegion< DiscontinuousSegmentation >, CLAM::WritingRegion< MIDISong >, CLAM::WritingRegion< SpectralPeakArray >, CLAM::WritingRegion< LPModel >, CLAM::WritingRegion< Frame >, CLAM::WritingRegion< Fundamental >, CLAM::WritingRegion< std::vector< CLAM::TData > >, CLAM::WritingRegion< Spectrum >, CLAM::WritingRegion< Audio >, and CLAM::WritingRegion< MelSpectrum >.

virtual ReadingRegionsIterator CLAM::Region::EndReaders (  )  [pure virtual]

Implemented in CLAM::ReadingRegion< WritingRegion >, CLAM::WritingRegion< Token, DataStructure >, CLAM::ReadingRegion< WritingRegion< MelSpectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Fundamental, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< DiscontinuousSegmentation, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< SpectralPeakArray, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Audio, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Envelope, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::pair< CLAM::TData, CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Frame, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDIMelody, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, DataStructure > >, CLAM::ReadingRegion< WritingRegion< MelCepstrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< T, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Segment, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Spectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDISong, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< LPModel, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< TData, PhantomBuffer > >, CLAM::WritingRegion< TData >, CLAM::WritingRegion< MelCepstrum >, CLAM::WritingRegion< Token >, CLAM::WritingRegion< MIDIMelody >, CLAM::WritingRegion< std::pair< CLAM::TData, CLAM::TData > >, CLAM::WritingRegion< T >, CLAM::WritingRegion< Envelope >, CLAM::WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > > >, CLAM::WritingRegion< Segment >, CLAM::WritingRegion< DiscontinuousSegmentation >, CLAM::WritingRegion< MIDISong >, CLAM::WritingRegion< SpectralPeakArray >, CLAM::WritingRegion< LPModel >, CLAM::WritingRegion< Frame >, CLAM::WritingRegion< Fundamental >, CLAM::WritingRegion< std::vector< CLAM::TData > >, CLAM::WritingRegion< Spectrum >, CLAM::WritingRegion< Audio >, and CLAM::WritingRegion< MelSpectrum >.

void CLAM::Region::Hop ( const int hop  ) 

Definition at line 73 of file Region.cxx.

References CLAM_ASSERT.

const int & CLAM::Region::Hop (  )  const
void CLAM::Region::Pos ( const long &  pos  ) 

Definition at line 62 of file Region.cxx.

const long & CLAM::Region::Pos (  )  const
virtual Region* CLAM::Region::ProducerRegion (  )  [pure virtual]

Implemented in CLAM::ReadingRegion< WritingRegion >, CLAM::WritingRegion< Token, DataStructure >, CLAM::ReadingRegion< WritingRegion< MelSpectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Fundamental, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< DiscontinuousSegmentation, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< SpectralPeakArray, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Audio, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Envelope, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::pair< CLAM::TData, CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Frame, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDIMelody, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, DataStructure > >, CLAM::ReadingRegion< WritingRegion< MelCepstrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< T, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Segment, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Spectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDISong, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< LPModel, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< TData, PhantomBuffer > >, CLAM::WritingRegion< TData >, CLAM::WritingRegion< MelCepstrum >, CLAM::WritingRegion< Token >, CLAM::WritingRegion< MIDIMelody >, CLAM::WritingRegion< std::pair< CLAM::TData, CLAM::TData > >, CLAM::WritingRegion< T >, CLAM::WritingRegion< Envelope >, CLAM::WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > > >, CLAM::WritingRegion< Segment >, CLAM::WritingRegion< DiscontinuousSegmentation >, CLAM::WritingRegion< MIDISong >, CLAM::WritingRegion< SpectralPeakArray >, CLAM::WritingRegion< LPModel >, CLAM::WritingRegion< Frame >, CLAM::WritingRegion< Fundamental >, CLAM::WritingRegion< std::vector< CLAM::TData > >, CLAM::WritingRegion< Spectrum >, CLAM::WritingRegion< Audio >, and CLAM::WritingRegion< MelSpectrum >.

Referenced by CLAM::StreamImpl< Token, PhantomBuffer >::NewReadingRegionSize(), CLAM::StreamImpl< Token, PhantomBuffer >::NewWritingRegionSize(), and CLAM::WritingRegion< Token, DataStructure >::RemoveRegion().

virtual void CLAM::Region::RemoveProducer (  )  [inline, virtual]

Reimplemented in CLAM::ReadingRegion< WritingRegion >, CLAM::ReadingRegion< WritingRegion< MelSpectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Fundamental, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< DiscontinuousSegmentation, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< SpectralPeakArray, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Audio, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Envelope, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::pair< CLAM::TData, CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Frame, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDIMelody, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, DataStructure > >, CLAM::ReadingRegion< WritingRegion< MelCepstrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< T, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Segment, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< std::pair< CLAM::TData, CLAM::TData > >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Spectrum, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< MIDISong, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< std::vector< CLAM::TData >, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< Token, PhantomBuffer > >, CLAM::ReadingRegion< WritingRegion< LPModel, PhantomBuffer > >, and CLAM::ReadingRegion< WritingRegion< TData, PhantomBuffer > >.

Definition at line 49 of file Region.hxx.

Referenced by CLAM::WritingRegion< Token, DataStructure >::RemoveRegion().

virtual void CLAM::Region::RemoveRegion ( Region Region  )  [inline, virtual]
void CLAM::Region::Size ( const int size  ) 

Definition at line 67 of file Region.cxx.

References SizeChanged().

const int & CLAM::Region::Size (  )  const
virtual void CLAM::Region::SizeChanged ( const int newSize  )  [protected, pure virtual]

Referenced by Size().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3