Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
OVR::Util::LatencyTest Class Reference

#include <Util_LatencyTest.h>

Inheritance diagram for OVR::Util::LatencyTest:
Inheritance graph
[legend]

List of all members.

Classes

class  LatencyTestHandler
struct  MeasurementResult

Public Member Functions

void BeginTest ()
bool DisplayScreenColor (Color &colorToDisplay)
const char * GetResultsString ()
bool HasDevice () const
 LatencyTest (LatencyTestDevice *device=NULL)
void ProcessInputs ()
bool SetDevice (LatencyTestDevice *device)
 ~LatencyTest ()

Private Types

enum  LatencyTestMessageType { LatencyTest_None, LatencyTest_Timer, LatencyTest_ProcessInputs }
enum  TesterState {
  State_WaitingForButton, State_WaitingForSettlePreCalibrationColorBlack, State_WaitingForSettlePostCalibrationColorBlack, State_WaitingForSettlePreCalibrationColorWhite,
  State_WaitingForSettlePostCalibrationColorWhite, State_WaitingToTakeMeasurement, State_WaitingForTestStarted, State_WaitingForColorDetected,
  State_WaitingForSettlePostMeasurement
}

Private Member Functions

bool areResultsComplete ()
void clearMeasurementResults ()
void clearTimer ()
MeasurementResultgetActiveResult ()
UInt32 getRandomComponent (UInt32 range)
LatencyTestgetThis ()
void handleMessage (const Message &msg, LatencyTestMessageType latencyTestMessage=LatencyTest_None)
void processResults ()
void reset ()
void setTimer (UInt32 timeMilliS)
void updateForTimeouts ()

Private Attributes

UInt32 ActiveTimerMilliS
Ptr< LatencyTestDeviceDevice
LatencyTestHandler Handler
bool HaveOldTime
UInt32 OldTime
Color RenderColor
List< MeasurementResultResults
StringBuffer ResultsString
String ReturnedResultString
TesterState State

Detailed Description

Definition at line 54 of file Util_LatencyTest.h.


Member Enumeration Documentation

Enumerator:
LatencyTest_None 
LatencyTest_Timer 
LatencyTest_ProcessInputs 

Definition at line 78 of file Util_LatencyTest.h.

Enumerator:
State_WaitingForButton 
State_WaitingForSettlePreCalibrationColorBlack 
State_WaitingForSettlePostCalibrationColorBlack 
State_WaitingForSettlePreCalibrationColorWhite 
State_WaitingForSettlePostCalibrationColorWhite 
State_WaitingToTakeMeasurement 
State_WaitingForTestStarted 
State_WaitingForColorDetected 
State_WaitingForSettlePostMeasurement 

Definition at line 108 of file Util_LatencyTest.h.


Constructor & Destructor Documentation

Definition at line 42 of file Util_LatencyTest.cpp.

Definition at line 55 of file Util_LatencyTest.cpp.


Member Function Documentation

Definition at line 387 of file Util_LatencyTest.cpp.

Definition at line 104 of file Util_LatencyTest.cpp.

Definition at line 337 of file Util_LatencyTest.cpp.

Definition at line 323 of file Util_LatencyTest.cpp.

Definition at line 363 of file Util_LatencyTest.cpp.

Definition at line 312 of file Util_LatencyTest.cpp.

Definition at line 98 of file Util_LatencyTest.cpp.

Definition at line 376 of file Util_LatencyTest.cpp.

Definition at line 76 of file Util_LatencyTest.h.

void OVR::Util::LatencyTest::handleMessage ( const Message msg,
LatencyTestMessageType  latencyTestMessage = LatencyTest_None 
) [private]

Definition at line 118 of file Util_LatencyTest.cpp.

bool OVR::Util::LatencyTest::HasDevice ( ) const [inline]

Definition at line 65 of file Util_LatencyTest.h.

Definition at line 357 of file Util_LatencyTest.cpp.

Definition at line 432 of file Util_LatencyTest.cpp.

void OVR::Util::LatencyTest::reset ( ) [private]

Definition at line 328 of file Util_LatencyTest.cpp.

Definition at line 60 of file Util_LatencyTest.cpp.

void OVR::Util::LatencyTest::setTimer ( UInt32  timeMilliS) [private]

Definition at line 318 of file Util_LatencyTest.cpp.

Definition at line 535 of file Util_LatencyTest.cpp.


Member Data Documentation

Definition at line 124 of file Util_LatencyTest.h.

Definition at line 105 of file Util_LatencyTest.h.

Definition at line 106 of file Util_LatencyTest.h.

Definition at line 122 of file Util_LatencyTest.h.

Definition at line 123 of file Util_LatencyTest.h.

Definition at line 126 of file Util_LatencyTest.h.

Definition at line 149 of file Util_LatencyTest.h.

Definition at line 154 of file Util_LatencyTest.h.

Definition at line 155 of file Util_LatencyTest.h.

Definition at line 120 of file Util_LatencyTest.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:50