Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik
+ Inheritance diagram for FPS:
+ Collaboration diagram for FPS:

Public Member Functions

void show ()
 Prints the FPS.
 
void frame (bool drawn)
 FPS counting function. More...
 
void action ()
 Method that contains the thread's program code. More...
 
- Public Member Functions inherited from Thread

Additional Inherited Members

- Public Attributes inherited from Thread
- Static Public Attributes inherited from Thread
- Static Protected Member Functions inherited from Thread
- Protected Attributes inherited from Thread

Member Function Documentation

◆ frame()

void FPS::frame ( bool  drawn)

FPS counting function.

Parameters
drawnSpecifies whether the frame was written to video memory

◆ action()

void FPS::action ( )
virtual

Method that contains the thread's program code.

Derived classes are meant to override this method to provide meaningful code to be run in this thread.

Implements Thread.


The documentation for this class was generated from the following files:
  • user/graphics/fps.h
  • user/graphics/fps.cc