
#include <Exposition.h>
Inheritance diagram for ExposerManifester:

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 ExposerManifester * | Current () |
| 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 | |
| Exposer & | exposer |
| 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. | |
Manifesters should inherit this class. For example, a manifester could manifest the UI graphically, programmatically, or aurally.
|
|
Constructor. Attaches the manifester to the specified exposer.
|
|
|
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. |
|
|
Requesting to notify the user of the given message.
|
|
|
Used to notify the manifester that an exposition value has been changed. This could be used, for example, to update its displayed value.
Reimplemented in GUIManifester. |