#include <VisualStageControl.h>
List of all members.
Detailed Description
Singleton mediator that controls the show of the VisualEnsemble. All public methods are declared static. Controls the show of the VisualEnsemble and communicates with individual actors. The VisualStageControl can manipulate the behaviour of individual VisualActors.
Constructor & Destructor Documentation
| VisualStageControl::VisualStageControl |
( |
|
) |
[private] |
The constructor. VisualStageControl is a singleton class. The constructor is private. New instance of class can only be created internally.
| VisualStageControl::~VisualStageControl |
( |
|
) |
[private] |
The destructor. VisualStageControl is a singleton class. The destructor is private. Instance of class can only be destructed internally.
| VizKit::VisualStageControl::VisualStageControl |
( |
const VisualStageControl & |
other |
) |
[private] |
Copy constructor.
- Parameters:
-
Member Function Documentation
| void VisualStageControl::checkForFadeOutEvent |
( |
void |
|
) |
[static] |
Checks whether the fade out event should be sent. If it should, a notification is added to the queue.
| void VisualStageControl::dispatchNotification |
( |
VisualNotification & |
aNotification |
) |
[static] |
| void VisualStageControl::dispose |
( |
void |
|
) |
[static] |
| void VisualStageControl::doEnsembleShow |
( |
const VisualPlayerState & |
visualPlayerState |
) |
[static] |
Sends each actor a message to prepare, perform and finish show.
- Parameters:
-
| VisualActor * VisualStageControl::getVisualActorByName |
( |
const char *const |
aVisualActorName |
) |
[static] |
Returns a pointer to a VisualActor whose name is aVisualActorName.
- Parameters:
-
| aVisualActorName | The name of the visual actor. |
- Returns:
- A pointer to a VisualActor whose name is aVisualActorName or NULL if none is found.
| void VisualStageControl::handleKeyPressed |
( |
const char |
keyboadVal, |
|
|
const PlayerShowMode |
showMode | |
|
) |
| | [static] |
Processes keyboard events.
- Parameters:
-
| keyboadVal | The value of the key that was pressed. |
| showMode | The show mode. |
| void VisualStageControl::init |
( |
void |
|
) |
[private] |
Registers a VisualActor for a specific notification (event/message).
- Parameters:
-
| aVisualActor | A visual actor. |
| aNotificationKey | An enum that denotes a notification. |
Removes a VisualActor from the list of observers for a specific notification (event/message).
- Parameters:
-
| aVisualActor | A visual actor. |
| aNotificationKey | An enum that denotes a notification. |
Member Data Documentation
A pointer to a visual ensemble.
VisualStageControl is a singleton class. Pointer to private instance is handled internally.
The documentation for this class was generated from the following files: