|
VizKit
3.3.7
|
Shows some information on screen for diagnostical and monitoring purposes. More...
#include <ProcessMonitor.h>
Public Member Functions | |
| ProcessMonitor () | |
| The constructor. | |
| ~ProcessMonitor () | |
| The destructor. | |
| void | prepareProcessMonitorShow (void) |
| Prepares the show of the ProcessMonitor. | |
| void | showInfoStrings (void) |
| Shows the info strings of the process monitor. | |
| void | showAudioInfo (const uint32 elapsedAudioTime, const uint32 remainingAudioTime) |
| Shows diagnostic info about audio data (waveform and spectrum). | |
| void | registerProcessMonitorInfoMap (const std::map< std::string, std::string > *const processMonitorInfoMap) |
| The processMonitorInfoMap is registered. | |
| void | finishProcessMonitorShow (void) |
| Finishes the ProcessMonitor. | |
| void | updateProgressMeterVertices (void) |
| Updates the vertices of the components of the trackProgressMeter (e.g. | |
Private Types | |
| typedef std::map< std::string, std::string > | ProcessInfoMap |
| The ProcessInfoMap is a map of the process monitor info key-value-pairs. | |
| typedef ProcessInfoMap::iterator | ProcessInfoMapIterator |
| The ProcessInfoMapIterator is an iterator of the ProcessInfoMap. | |
Private Member Functions | |
| void | setupProgressMeterVertices (void) |
| Sets up the vertices of the components of the trackProgressMeter. | |
| void | calcTrackProgressMeterVertices (const uint32 elapsedAudioTime, const uint32 remainingAudioTime) |
| Calculates the vertices of the components of the trackProgressMeter. | |
| void | cleanupProgressMeterVertices (void) |
| Cleans up the memory allocated for the vertices of the components of the trackProgressMeter. | |
Private Attributes | |
| ProcessInfoMap | processInfoMap |
| The map of the process monitor info key-value-pairs. | |
| VertexChain | progressMeterBackgroundVertices |
| Vertices of background of progress meter. | |
| VertexChain | progressMeterVertices |
| Vertices of progress meter. | |
| VertexChain | progressMeterOutlineVertices |
| Vertices of outline of progress meter. | |
| VisualAsset * | processMonitorAsset |
| Asset of the process monitor. | |
Shows some information on screen for diagnostical and monitoring purposes.
ProcessMonitor performs the action of the ProcessMonitorActor.
typedef std::map<std::string, std::string> VizKit::ProcessMonitor::ProcessInfoMap [private] |
The ProcessInfoMap is a map of the process monitor info key-value-pairs.
typedef ProcessInfoMap::iterator VizKit::ProcessMonitor::ProcessInfoMapIterator [private] |
The ProcessInfoMapIterator is an iterator of the ProcessInfoMap.
The constructor.
The destructor.
| void ProcessMonitor::calcTrackProgressMeterVertices | ( | const uint32 | elapsedAudioTime, |
| const uint32 | remainingAudioTime | ||
| ) | [private] |
Calculates the vertices of the components of the trackProgressMeter.
| void ProcessMonitor::cleanupProgressMeterVertices | ( | void | ) | [private] |
Cleans up the memory allocated for the vertices of the components of the trackProgressMeter.
| void ProcessMonitor::finishProcessMonitorShow | ( | void | ) |
Finishes the ProcessMonitor.
| void ProcessMonitor::prepareProcessMonitorShow | ( | void | ) |
Prepares the show of the ProcessMonitor.
| void ProcessMonitor::registerProcessMonitorInfoMap | ( | const std::map< std::string, std::string > *const | processMonitorInfoMap | ) |
The processMonitorInfoMap is registered.
| processMonitorInfoMap | All associative key-value-pairs of the process monitor info map. |
| void ProcessMonitor::setupProgressMeterVertices | ( | void | ) | [private] |
Sets up the vertices of the components of the trackProgressMeter.
| void ProcessMonitor::showAudioInfo | ( | const uint32 | elapsedAudioTime, |
| const uint32 | remainingAudioTime | ||
| ) |
Shows diagnostic info about audio data (waveform and spectrum).
| elapsedAudioTime | The elapsed time of the current track in milliseconds. 0 if no time value is available. |
| remainingAudioTime | The remaining time of the current track in milliseconds. 0 if no time value is available. |
| void ProcessMonitor::showInfoStrings | ( | void | ) |
Shows the info strings of the process monitor.
| void ProcessMonitor::updateProgressMeterVertices | ( | void | ) |
Updates the vertices of the components of the trackProgressMeter (e.g.
after a reshape of the canvas).
The map of the process monitor info key-value-pairs.
Asset of the process monitor.
Vertices of background of progress meter.
Vertices of outline of progress meter.
Vertices of progress meter.