Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::CAPI::TimeDeltaCollector Struct Reference

#include "CAPI_FrameTimeManager.h"

Collaboration diagram for OVR::CAPI::TimeDeltaCollector:
Collaboration graph

Public Types

enum  { Capacity = 12 }
 

Public Member Functions

 TimeDeltaCollector ()
 
void AddTimeDelta (double timeSeconds)
 
void Clear ()
 
double GetMedianTimeDelta () const
 
double GetCount () const
 

Private Attributes

int Count
 
double TimeBufferSeconds [Capacity]
 

Detailed Description

Definition at line 42 of file CAPI_FrameTimeManager.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Capacity 

Definition at line 53 of file CAPI_FrameTimeManager.h.

Constructor & Destructor Documentation

OVR::CAPI::TimeDeltaCollector::TimeDeltaCollector ( )
inline

Definition at line 44 of file CAPI_FrameTimeManager.h.

Member Function Documentation

void OVR::CAPI::TimeDeltaCollector::AddTimeDelta ( double  timeSeconds)

Definition at line 624 of file CAPI_FrameTimeManager.cpp.

void OVR::CAPI::TimeDeltaCollector::Clear ( )
inline

Definition at line 47 of file CAPI_FrameTimeManager.h.

double OVR::CAPI::TimeDeltaCollector::GetCount ( ) const
inline

Definition at line 51 of file CAPI_FrameTimeManager.h.

double OVR::CAPI::TimeDeltaCollector::GetMedianTimeDelta ( ) const

Definition at line 639 of file CAPI_FrameTimeManager.cpp.

Field Documentation

int OVR::CAPI::TimeDeltaCollector::Count
private

Definition at line 55 of file CAPI_FrameTimeManager.h.

double OVR::CAPI::TimeDeltaCollector::TimeBufferSeconds[Capacity]
private

Definition at line 56 of file CAPI_FrameTimeManager.h.


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