#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 ( )

Definition at line 25 of file TCSgram.cpp.

TCSGram::~TCSGram ( )

Definition at line 30 of file TCSgram.cpp.

Member Function Documentation

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

Definition at line 35 of file TCSgram.cpp.

References m_VectorList.

Referenced by ChangeDetectionFunction::process().

void TCSGram::addTCSVector ( const TCSVector rTCSVector)

Definition at line 52 of file TCSgram.cpp.

References m_dFrameDurationMS, and m_VectorList.

Referenced by ChangeDetectionFunction::process().

long TCSGram::getTime ( size_t  uPosition) const

Definition at line 46 of file TCSgram.cpp.

References m_VectorList.

long TCSGram::getDuration ( ) const

Definition at line 63 of file TCSgram.cpp.

References m_dFrameDurationMS, and m_VectorList.

void TCSGram::printDebug ( )

Definition at line 69 of file TCSgram.cpp.

References m_VectorList.

int TCSGram::getSize ( ) const
inline

Definition at line 37 of file TCSgram.h.

References m_VectorList.

Referenced by ChangeDetectionFunction::process().

void TCSGram::reserve ( size_t  uSize)
inline

Definition at line 38 of file TCSgram.h.

References m_VectorList.

void TCSGram::clear ( )
inline

Definition at line 39 of file TCSgram.h.

References m_VectorList.

void TCSGram::setFrameDuration ( const double  dFrameDurationMS)
inline

Definition at line 40 of file TCSgram.h.

References m_dFrameDurationMS.

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

Definition at line 43 of file TCSgram.h.

References m_uNumBins, and normalize().

void TCSGram::normalize ( )

Referenced by setNumBins().

Member Data Documentation

vectorlist_t TCSGram::m_VectorList
protected
unsigned int TCSGram::m_uNumBins
protected

Definition at line 49 of file TCSgram.h.

Referenced by setNumBins().

double TCSGram::m_dFrameDurationMS
protected

Definition at line 50 of file TCSgram.h.

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


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