#include <ObserverInterface.h>

Public Member Functions | |
| Observer (int argc, char *argv[]) | |
| Constructor: Create the GUI window. | |
| ~Observer () | |
| Standard destructor. | |
Protected Member Functions | |
| int | Update () |
| Update call only updates internal data, this is NOT connected to the rendering mechanism. | |
| void | Render () |
| void | RenderUpdateIcon () |
| Draws the top left icon that shows performance. | |
Private Attributes | |
| float(* | CycleTimeQueue )[MAX_QUEUE_SIZE] |
| Avg. cycle time. | |
| unsigned int(* | CycleTimeStamp )[2] |
| Message recieved time (second, millisecond). | |
| int * | CycleTimeIndex |
| The index for the circular queue for each component. | |
| float * | CycleTimeMaxValue |
| Max value, for graphic scaling purposes. | |
| float * | CycleTimeMinValue |
| Min value for same purpose. | |
| int * | CycleTimeCounter |
| float(* | InputTimeQueue )[MAX_QUEUE_SIZE] |
| Avg. input time. | |
| unsigned int(* | InputTimeStamp )[2] |
| Message recieved time (second, millisecond). | |
| int * | InputTimeIndex |
| The index for above series of information. | |
| float | InputTimeMaxValue |
| float | InputTimeMinValue |
| int(* | CycleCountQueue )[MAX_QUEUE_SIZE] |
| Calls per second. | |
| unsigned int(* | CycleCountStamp )[2] |
| Message recieved time (second, millisecond). | |
| int | CycleCountIndex |
| The index for above series of information. | |
| int | MainWindow |
| int | DepCount |
| char ** | DepName |
Static Private Attributes | |
| static const int | MAX_QUEUE_SIZE = 32 |
| Keyboard Handler. | |
| Observer::Observer | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Constructor: Create the GUI window.
Constructor default constructor: creates the window.
Make sure the glui component is embedded into the GL window.
| Observer::~Observer | ( | ) |
Standard destructor.
| int Observer::Update | ( | ) | [protected, virtual] |
Update call only updates internal data, this is NOT connected to the rendering mechanism.
Implements BaseComponent.
| void Observer::Render | ( | ) | [protected] |
Display function that sets up the window. Gets called by the glutDisplayFunc function in constructor.
| void Observer::RenderUpdateIcon | ( | ) | [protected] |
Draws the top left icon that shows performance.
const int Observer::MAX_QUEUE_SIZE = 32 [static, private] |
Keyboard Handler.
Default queue size for performance messages
float(* Observer::CycleTimeQueue)[MAX_QUEUE_SIZE] [private] |
Avg. cycle time.
unsigned int(* Observer::CycleTimeStamp)[2] [private] |
Message recieved time (second, millisecond).
int* Observer::CycleTimeIndex [private] |
The index for the circular queue for each component.
float* Observer::CycleTimeMaxValue [private] |
Max value, for graphic scaling purposes.
float* Observer::CycleTimeMinValue [private] |
Min value for same purpose.
int* Observer::CycleTimeCounter [private] |
float(* Observer::InputTimeQueue)[MAX_QUEUE_SIZE] [private] |
Avg. input time.
unsigned int(* Observer::InputTimeStamp)[2] [private] |
Message recieved time (second, millisecond).
int* Observer::InputTimeIndex [private] |
The index for above series of information.
float Observer::InputTimeMaxValue [private] |
float Observer::InputTimeMinValue [private] |
int(* Observer::CycleCountQueue)[MAX_QUEUE_SIZE] [private] |
Calls per second.
unsigned int(* Observer::CycleCountStamp)[2] [private] |
Message recieved time (second, millisecond).
int Observer::CycleCountIndex [private] |
The index for above series of information.
int Observer::MainWindow [private] |
int Observer::DepCount [private] |
char** Observer::DepName [private] |
1.5.5