|Choices file saving management. More...|
This class provides a mechanism for saving 'choices'. These are
the configuration aspects of any objects in the TSE3 sequencer
It employs the singleton design pattern.
The format of a choices file is the blocked TSE3MDL format.
See also: TSE3
| ChoicesManager ()
| ~ChoicesManager ()
|void add (ChoiceHandler *ch)
Add a new ChoiceHandler to the manager. This ties the
object's lifecycle to the ChoicesManager; if it is not
removed then the destruction of this object will bring about
the destruction of the added ChoiceHandler.
|void remove (ChoiceHandler *ch)
Remove the ChoiceHandler from the manager. The
ChoiceHandler's life is not tied to the manager's any
|void save (const std::string &filename)
This method steps through each ChoiceHandler registered
and requests that it saves it's choices in the appropriate
|void load (const std::string &filename)
This method reads and interprets the given choices file.
It reads each block and then intructs the appropriate
ChoiceHandler to perform the necessary settings based
If the file doesn't exist then no error is thrown.
- Version: 1.00
- Author: Pete Goodliffe
- Generated: pete on philemon on Wed May 25 14:39:52 2005, using kdoc 2.0a54.