VizKit  3.3.7
Public Member Functions | Private Types | Private Member Functions | Private Attributes
VizKit::ProcessMonitor Class Reference

Shows some information on screen for diagnostical and monitoring purposes. More...

#include <ProcessMonitor.h>

List of all members.

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.
VisualAssetprocessMonitorAsset
 Asset of the process monitor.

Detailed Description

Shows some information on screen for diagnostical and monitoring purposes.

ProcessMonitor performs the action of the ProcessMonitorActor.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

void ProcessMonitor::calcTrackProgressMeterVertices ( const uint32  elapsedAudioTime,
const uint32  remainingAudioTime 
) [private]

Calculates the vertices of the components of the trackProgressMeter.

Cleans up the memory allocated for the vertices of the components of the trackProgressMeter.

Finishes the ProcessMonitor.

Prepares the show of the ProcessMonitor.

void ProcessMonitor::registerProcessMonitorInfoMap ( const std::map< std::string, std::string > *const  processMonitorInfoMap)

The processMonitorInfoMap is registered.

Parameters:
processMonitorInfoMapAll 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).

Parameters:
elapsedAudioTimeThe elapsed time of the current track in milliseconds. 0 if no time value is available.
remainingAudioTimeThe remaining time of the current track in milliseconds. 0 if no time value is available.

Shows the info strings of the process monitor.

Updates the vertices of the components of the trackProgressMeter (e.g.

after a reshape of the canvas).


Member Data Documentation

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.


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

Generated on Sun May 3 2015 20:26:31 for VizKit by doxygen 1.8.0