Spinnaker SDK C++
4.1.0.172
 
 

 
Loading...
Searching...
No Matches
FrameRateCounter Class Reference

#include <FrameRateCounter.h>

Public Member Functions

 FrameRateCounter (unsigned long queueLength=120)
 
virtual ~FrameRateCounter ()
 
double GetFrameRate ()
 
void SetFrameRate (double frameRate)
 
void NewFrame ()
 

Protected Attributes

double m_frameRate
 
std::deque< double > m_frameTime
 
__int64 m_frequency
 
__int64 m_prevTime
 

Constructor & Destructor Documentation

◆ FrameRateCounter()

FrameRateCounter ( unsigned long  queueLength = 120)

◆ ~FrameRateCounter()

~FrameRateCounter ( )
virtual

Member Function Documentation

◆ GetFrameRate()

double GetFrameRate ( )

◆ NewFrame()

void NewFrame ( )

◆ SetFrameRate()

void SetFrameRate ( double  frameRate)

Member Data Documentation

◆ m_frameRate

double m_frameRate
protected

◆ m_frameTime

std::deque<double> m_frameTime
protected

◆ m_frequency

__int64 m_frequency
protected

◆ m_prevTime

__int64 m_prevTime
protected

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