#include <ProcessMonitorActor.h>
Inherits VizKit::VisualActor.

Public Member Functions | |
| ProcessMonitorActor () | |
| ~ProcessMonitorActor (void) | |
| virtual void | init (void) |
| virtual void | show (const VisualPlayerState &visualPlayerState) |
| void | handleNotification (VisualNotification &aNotification) |
| void | setState (VisualActorState aVisualActorState) |
| void | registerProcessMonitorInfoMap (const std::map< std::string, std::string > *const processMonitorInfoMap) |
| bool | isAudioInfoShown (void) |
| void | setShowAudioInfo (bool requestedAudioInfoState) |
Private Attributes | |
| ProcessMonitor * | processMonitor |
| bool | showAudioInfoBool |
| uint32 | elapsedAudioTime |
| uint32 | remainingAudioTime |
This actor displays textual and graphical information useful for debugging, diagnostics and monitoring purposes. Visual plug-ins can be debugged by writing output to stdout. If it is neccessary to monitor reoccuring and changing data in realtime the data can be registered with the ProcessMonitorActor and refreshed with each render call. The registered output is displayed on screen.
| ProcessMonitorActor::ProcessMonitorActor | ( | ) |
The constructor.
| ProcessMonitorActor::~ProcessMonitorActor | ( | void | ) |
The destructor.
| void ProcessMonitorActor::handleNotification | ( | VisualNotification & | aNotification | ) | [virtual] |
The actor receives a notification about an event that occured.
| aNotification | The notification passed in. |
Reimplemented from VizKit::VisualActor.
| void ProcessMonitorActor::init | ( | void | ) | [virtual] |
Initialization.
Reimplemented from VizKit::VisualActor.
| bool ProcessMonitorActor::isAudioInfoShown | ( | void | ) |
Answers the question whether the audio info is shown or not.
| void ProcessMonitorActor::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 ProcessMonitorActor::setShowAudioInfo | ( | bool | requestedAudioInfoState | ) |
Sets the state of the audio info.
| requestedAudioInfoState | True if audio info show be shown, false if it should be hidden. |
| void ProcessMonitorActor::setState | ( | VisualActorState | aVisualActorState | ) | [virtual] |
Sets the state of the process monitor actor.
| aVisualActorState | The state of the process monitor actor. |
Reimplemented from VizKit::VisualActor.
| void ProcessMonitorActor::show | ( | const VisualPlayerState & | visualPlayerState | ) | [virtual] |
Performs the show of the process monitor.
| visualPlayerState | Read-only access to the VisualPlayerState. |
Reimplemented from VizKit::VisualActor.
The elapsed time of the current audio track in milliseconds.
A pointer to the process monitor action.
The remaining time of the current audio track in milliseconds.
bool VizKit::ProcessMonitorActor::showAudioInfoBool [private] |
Should the audio info be shown?