Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
FrequencyEstimator Class Reference

variable-width window for frequency determination More...

Public Member Functions

 FrequencyEstimator (double resolution)
 
bool operator() (double time, double &frequency)
 

Private Member Functions

 NONCOPYABLE (FrequencyEstimator)
 

Private Attributes

const double m_minDeltaTime
 
double m_lastTime
 
int m_numEvents
 

Detailed Description

variable-width window for frequency determination

Constructor & Destructor Documentation

◆ FrequencyEstimator()

FrequencyEstimator::FrequencyEstimator ( double  resolution)
inline

Member Function Documentation

◆ NONCOPYABLE()

FrequencyEstimator::NONCOPYABLE ( FrequencyEstimator  )
private

◆ operator()()

bool FrequencyEstimator::operator() ( double  time,
double &  frequency 
)
inline

Member Data Documentation

◆ m_lastTime

double FrequencyEstimator::m_lastTime
private

◆ m_minDeltaTime

const double FrequencyEstimator::m_minDeltaTime
private

◆ m_numEvents

int FrequencyEstimator::m_numEvents
private

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