Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members

Presentation Class Reference

Presentation controls the flow of a presentation. More...

#include <Presentation.h>

Collaboration diagram for Presentation:

Collaboration graph

[legend]
List of all members.

Public Methods

Construction / Destruction
 Presentation ()
 Construct a new Presentation. More...

 ~Presentation ()
 Destroy the Presentation. More...

Flow Control & Timing
void begin ()
 Begin the presentation. More...

Boolean hasBegun () const
 Has the presentation begun? More...

void nextPeriod ()
 Step to the next period. More...

void redraw () const
 Draw the state of the current period again. More...

Boolean isPaused () const
 Is the presentation currenty paused? More...

void pause ()
 Pause the presentation. More...

void resume ()
 Resume a paused presentation. More...

Int32 getTimeUntilNextPeriod () const
 Determine the amount of time until the next period begins. More...

Input management
void receiveEvent (const EventType* evtPtr)
 Receive an input event. More...


Detailed Description

Presentation controls the flow of a presentation.

It is a facade that delegates most of the work to other classes.

See also:
ActionEngine , Canvas , HardKeyManager

Definition at line 46 of file Presentation.h.


Constructor & Destructor Documentation

Presentation::Presentation ( )
 

Construct a new Presentation.

Definition at line 55 of file Presentation.h.

Presentation::~Presentation ( ) [inline]
 

Destroy the Presentation.

Definition at line 85 of file Presentation.h.


Member Function Documentation

void Presentation::begin ( ) [inline]
 

Begin the presentation.

Definition at line 111 of file Presentation.h.

Int32 Presentation::getTimeUntilNextPeriod ( ) const [inline]
 

Determine the amount of time until the next period begins.

The result can be passed directly into a call to EvtGetEvent().

Returns:
the amount of time in ticks (1/100 secs) or evtWaitForever

Definition at line 222 of file Presentation.h.

Boolean Presentation::hasBegun ( ) const [inline]
 

Has the presentation begun?

Definition at line 129 of file Presentation.h.

Boolean Presentation::isPaused ( ) const [inline]
 

Is the presentation currenty paused?

Returns:
true if paused, false if not paused

Definition at line 178 of file Presentation.h.

void Presentation::nextPeriod ( ) [inline]
 

Step to the next period.

Definition at line 138 of file Presentation.h.

void Presentation::pause ( ) [inline]
 

Pause the presentation.

Definition at line 187 of file Presentation.h.

void Presentation::receiveEvent ( const EventType * evtPtr ) [inline]
 

Receive an input event.

The event will be forwarded to the ActionEngine which has to decide whether it wants to react to it.

Definition at line 247 of file Presentation.h.

void Presentation::redraw ( ) const [inline]
 

Draw the state of the current period again.

Definition at line 166 of file Presentation.h.

void Presentation::resume ( ) [inline]
 

Resume a paused presentation.

Definition at line 199 of file Presentation.h.


The documentation for this class was generated from the following file:
Razor! Engine Developer's Guide. Copyright © by Tilo Christ. All Rights Reserved. Last updated: 4 Nov 2000