qm-dsp  1.8
TCSGram Class Reference

#include <TCSgram.h>

Public Member Functions

 TCSGram ()
 
 ~TCSGram ()
 
void getTCSVector (int, TCSVector &) const
 
void addTCSVector (const TCSVector &)
 
long getTime (size_t) const
 
long getDuration () const
 
void printDebug ()
 
int getSize () const
 
void reserve (size_t uSize)
 
void clear ()
 
void setFrameDuration (const double dFrameDurationMS)
 
void setNumBins (const unsigned int uNumBins)
 
void normalize ()
 

Protected Attributes

vectorlist_t m_VectorList
 
unsigned int m_uNumBins
 
double m_dFrameDurationMS
 

Detailed Description

Definition at line 27 of file TCSgram.h.

Constructor & Destructor Documentation

◆ TCSGram()

TCSGram::TCSGram ( )

Definition at line 25 of file TCSgram.cpp.

◆ ~TCSGram()

TCSGram::~TCSGram ( )

Definition at line 30 of file TCSgram.cpp.

Member Function Documentation

◆ getTCSVector()

void TCSGram::getTCSVector ( int  iPosition,
TCSVector rTCSVector 
) const

Definition at line 35 of file TCSgram.cpp.

References m_VectorList.

Referenced by ChangeDetectionFunction::process().

◆ addTCSVector()

void TCSGram::addTCSVector ( const TCSVector rTCSVector)

Definition at line 51 of file TCSgram.cpp.

References m_dFrameDurationMS, and m_VectorList.

Referenced by ChangeDetectionFunction::process().

◆ getTime()

long TCSGram::getTime ( size_t  uPosition) const

Definition at line 45 of file TCSgram.cpp.

References m_VectorList.

◆ getDuration()

long TCSGram::getDuration ( ) const

Definition at line 62 of file TCSgram.cpp.

References m_dFrameDurationMS, and m_VectorList.

◆ printDebug()

void TCSGram::printDebug ( )

Definition at line 68 of file TCSgram.cpp.

References m_VectorList.

◆ getSize()

int TCSGram::getSize ( ) const
inline

Definition at line 37 of file TCSgram.h.

References m_VectorList.

Referenced by ChangeDetectionFunction::process().

◆ reserve()

void TCSGram::reserve ( size_t  uSize)
inline

Definition at line 38 of file TCSgram.h.

References m_VectorList.

◆ clear()

void TCSGram::clear ( )
inline

Definition at line 39 of file TCSgram.h.

References m_VectorList.

◆ setFrameDuration()

void TCSGram::setFrameDuration ( const double  dFrameDurationMS)
inline

Definition at line 40 of file TCSgram.h.

References m_dFrameDurationMS.

◆ setNumBins()

void TCSGram::setNumBins ( const unsigned int  uNumBins)
inline

Definition at line 41 of file TCSgram.h.

References m_uNumBins, and normalize().

◆ normalize()

void TCSGram::normalize ( )

Referenced by setNumBins().

Member Data Documentation

◆ m_VectorList

vectorlist_t TCSGram::m_VectorList
protected

◆ m_uNumBins

unsigned int TCSGram::m_uNumBins
protected

Definition at line 45 of file TCSgram.h.

Referenced by setNumBins().

◆ m_dFrameDurationMS

double TCSGram::m_dFrameDurationMS
protected

Definition at line 46 of file TCSgram.h.

Referenced by addTCSVector(), getDuration(), and setFrameDuration().


The documentation for this class was generated from the following files: