![]() |
VR-Forces 5.0.2 Developer's Guide
|
Note that this class is not thread safe. Only call from the main thread.
Public Types | |
| typedef std::vector < DtSimulationAddress > | DtFrameRateRequesters |
| typedef DtFrameRateRequesters::iterator | DtFrameRateRequestersIter |
| typedef DtFrameRateRequesters::const_iterator | DtFrameRateRequestersConstIter |
Static Public Member Functions | |
| static void | pingRequestCallback (DtSimMessage *msg, void *usr) |
| static void | frameRateRequestCallback (DtSimMessage *msg, void *usr) |
| static void | modifyPerformanceSettingsCallback (DtSimMessage *msg, void *usr) |
| static void | reportTimerCallback (DtTimer *timer) |
Protected Member Functions | |
| virtual void | removeTimer () |
| virtual void | setTimer (double period) |
Private Member Functions | |
| DtFrameRateMonitor () | |
| DtFrameRateMonitor (const DtFrameRateMonitor &orig) | |
| const DtFrameRateMonitor & | operator= (const DtFrameRateMonitor &orig) |
| typedef std::vector<DtSimulationAddress> DtFrameRateMonitor::DtFrameRateRequesters |
| typedef DtFrameRateRequesters::iterator DtFrameRateMonitor::DtFrameRateRequestersIter |
| typedef DtFrameRateRequesters::const_iterator DtFrameRateMonitor::DtFrameRateRequestersConstIter |
|
private |
|
private |
copy constructor; report timer is currently not copied.
| DtFrameRateMonitor::DtFrameRateMonitor | ( | DtSimManager * | simManager | ) |
standard constructor
|
virtual |
destructor
|
private |
assignment operator; see copy constructor above.
|
virtual |
Calls register callbacks.
|
virtual |
|
virtual |
|
virtual |
Number of sections.
The section at the given index. This can be used to get the time for the given section.
|
virtual |
Vector of sections.
|
virtual |
Clear out the array of frame rates and start over. If sendReport is true, will send out a frame rate report if there are any requestors.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns true if there are requestors here.
|
virtual |
|
virtual |
handles requests
|
virtual |
|
virtual |
|
virtual |
Send report to requester.
|
static |
|
static |
|
static |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
The values of these will determine what gets put into a report.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Contains simulation addresses of everyone who has requested reports.
|
protected |
|
protected |
|
protected |
|
protected |
When paused, the frame rate logger will ignore any specified samples.