< home

ExposerManifester Class Reference
[Basic exposition elements used to specify exposed functionality.]

Used to manifest the UI specified by an Exposer. More...

#include <Exposition.h>

Inheritance diagram for ExposerManifester:

GUIManifester List of all members.

Public Member Functions

 ExposerManifester (Exposer &exposer)
 Constructor.
virtual void ManifestExposer ()=0
 The function responsible for manifestering the exposer (e.g., constructing and showing the GUI window) Some manifester classes may want to keep track of the manifester currently being created.
virtual void Update (Expo *expo)
 Used to notify the manifester that an exposition value has been changed.
virtual bool NotifyUser (string const &message)
 Requesting to notify the user of the given message.

Static Public Member Functions

static ExposerManifesterCurrent ()
 Returns the most recently instantiated exposer manifester.

Protected Member Functions

void StartedManifesting ()
 Should be called at the beginning of ManifestExposer.
void DoneManifesting ()
 Should be called at the end of ManifestExposer.

Protected Attributes

Exposerexposer
 Link to the exposer this manifester is manifesting.
string & name
 Shortcut reference to the exposer's name.
map< string, Expo * > & expositions
 Shortcut reference to the exposer's expositions.

Static Protected Attributes

static stack< ExposerManifester * > active
 The stack of manifesters currently being constructed.

Detailed Description

Used to manifest the UI specified by an Exposer.

Manifesters should inherit this class. For example, a manifester could manifest the UI graphically, programmatically, or aurally.


Constructor & Destructor Documentation

ExposerManifester Exposer exposer  )  [inline]
 

Constructor.

Attaches the manifester to the specified exposer.

Parameters:
exposer Exposer this manifester is manifesting.

Member Function Documentation

virtual void ManifestExposer  )  [pure virtual]
 

The function responsible for manifestering the exposer (e.g., constructing and showing the GUI window) Some manifester classes may want to keep track of the manifester currently being created.

These should call StartManifesting and DoneManifesting at the beginning end of their ManifestExposer function.

Implemented in GUIManifester.

virtual bool NotifyUser string const &  message  )  [inline, virtual]
 

Requesting to notify the user of the given message.

Returns:
true if the message was delivered

virtual void Update Expo expo  )  [inline, virtual]
 

Used to notify the manifester that an exposition value has been changed.

This could be used, for example, to update its displayed value.

See also:
expo::Exposer::NotifyChange

Reimplemented in GUIManifester.


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

 

Documentation generated on 14 Jun 2006 for OpenExposition by  doxygen 1.4.6>
Development hosted by SourceForge.net Logo