Test Class Reference

contains data about test results and has code to run the tests More...

#include <test.h>

Inheritance diagram for Test:
TestComplex TestFill TestFrag TestGeom TestVert

List of all members.

Public Member Functions

 Test (int _duration, int type, TScene *ps)
 Test class basic constructor.
virtual void SaveResults ()
 Calculate average framerate and save results.
virtual void Run ()
 Test run, counts FPS and increment time.
virtual void Animate ()
 Test animation: increment animation variable and perform various animations.
bool HasEnded ()
 has test come to an end?
void InitTime ()
 set initial time after test has been loaded
void UpdateFPS (unsigned _fps)
 update FPS count from timer thread
int GetFrames ()
 get total rendered frames
float GetScore ()
 return actual test score

Protected Attributes

TScenes
 pointer to scene we are rendering into
string testname
 current test name
float avg_fps
 average frame rate
unsigned duration
 total test duration
unsigned start_time
 test start time
unsigned split_time
 test finish time
int total_frames
 total rendered frames
int type
 test type
float anim
 animation movement,
float fps
 actual frames per second
int splits
 subtest count (splits)
int curr_setup
 current setup
bool splitbit
 partial scenes split sign
bool stopbit
 test stop sign
bool draw_scene
 shall we draw scene?
string msg
 variable for text
float part_FPS [5]
 partial FPS for every subtest
float test_score
 final test score
float weight
 test importance

Detailed Description

contains data about test results and has code to run the tests


Constructor & Destructor Documentation

Test::Test ( int  _duration,
int  _type,
TScene ps 
)

Test class basic constructor.

Parameters:
_duration duration of the test
_type test type
ps pointer to scene

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

Generated by  doxygen 1.6.2