HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_RealtimeStamp Class Reference

#include <CL_RealtimeStamp.h>

+ Inheritance diagram for CL_RealtimeStamp:

Public Types

enum  { REALTIME_STAMP = 0, REALTIME_CONVOLVE = 1 }
 

Public Member Functions

 CL_RealtimeStamp (int size)
 
virtual ~CL_RealtimeStamp ()
 
void setStampData (int size, const fpreal *data, fpreal threshold)
 
void setFunction (int func)
 
void setStampState (int state)
 
int getStampState ()
 
void setStampCallback (void(*callback)(void *, int, CL_RealtimeStamp *), void *data)
 
int getLastStampedIndex () const
 
virtual void reset (fpreal val=0.0)
 
- Public Member Functions inherited from CL_SlidingWindow
 CL_SlidingWindow (int size, int overlap)
 
 CL_SlidingWindow (UT_IStream &is)
 
virtual ~CL_SlidingWindow ()
 
void filterSamples (int n, const fpreal *source, fpreal *dest)
 
void shiftSamples (int nsource, const fpreal *source, int ndest, fpreal *dest, int shift)
 
void setOverlap (int overlap)
 
void resize (int size, int preserve=0)
 
virtual int maxFilterSamples ()
 
virtual void save (UT_OStream &os)
 
virtual bool load (UT_IStream &is, int version)
 

Additional Inherited Members

- Protected Attributes inherited from CL_SlidingWindow
int myWindowSize
 
int myOverlap
 
int myLastFilteredSample
 
fprealmyPreviousData
 
fprealmyMirrorData
 

Detailed Description

Definition at line 22 of file CL_RealtimeStamp.h.

Member Enumeration Documentation

anonymous enum
Enumerator
REALTIME_STAMP 
REALTIME_CONVOLVE 

Definition at line 25 of file CL_RealtimeStamp.h.

Constructor & Destructor Documentation

CL_RealtimeStamp::CL_RealtimeStamp ( int  size)
virtual CL_RealtimeStamp::~CL_RealtimeStamp ( )
virtual

Member Function Documentation

int CL_RealtimeStamp::getLastStampedIndex ( ) const
inline

Definition at line 40 of file CL_RealtimeStamp.h.

int CL_RealtimeStamp::getStampState ( )
virtual void CL_RealtimeStamp::reset ( fpreal  val = 0.0)
virtual

Reimplemented from CL_SlidingWindow.

void CL_RealtimeStamp::setFunction ( int  func)
void CL_RealtimeStamp::setStampCallback ( void(*)(void *, int, CL_RealtimeStamp *)  callback,
void data 
)
void CL_RealtimeStamp::setStampData ( int  size,
const fpreal data,
fpreal  threshold 
)
void CL_RealtimeStamp::setStampState ( int  state)

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