Public Member Functions | Private Types | Private Member Functions | Private Attributes

VizKit::ProcessMonitor Class Reference

#include <ProcessMonitor.h>

Collaboration diagram for VizKit::ProcessMonitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProcessMonitor ()
 ~ProcessMonitor ()
void prepareProcessMonitorShow (void)
void showInfoStrings (void)
void showAudioInfo (const uint32 elapsedAudioTime, const uint32 remainingAudioTime)
void registerProcessMonitorInfoMap (const std::map< std::string, std::string > *const processMonitorInfoMap)
void finishProcessMonitorShow (void)
void updateProgressMeterVertices (void)

Private Types

typedef std::map< std::string,
std::string
ProcessInfoMap
typedef ProcessInfoMap::iterator ProcessInfoMapIterator

Private Member Functions

void setupProgressMeterVertices (void)
void calcTrackProgressMeterVertices (const uint32 elapsedAudioTime, const uint32 remainingAudioTime)
void cleanupProgressMeterVertices (void)

Private Attributes

ProcessInfoMap processInfoMap
VertexChain progressMeterBackgroundVertices
VertexChain progressMeterVertices
VertexChain progressMeterOutlineVertices
VisualAssetprocessMonitorAsset

Detailed Description

Shows some information on screen for diagnostical and monitoring purposes. ProcessMonitor performs the action of the ProcessMonitorActor.


Member Typedef Documentation

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

ProcessMonitor::ProcessMonitor (  ) 

The constructor.

ProcessMonitor::~ProcessMonitor (  ) 

The destructor.


Member Function Documentation

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.

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

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


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 Sep 26 2010 13:29:35 for VizKit by doxygen 1.7.1