#include <improvConfig.h>
Public Methods | |
| improvConfig () | |
| Constructor. More... | |
| ~improvConfig () | |
| Destructor. More... | |
| void | load (int argc, char **argv) |
| Load configuration values for the command line arguments. More... | |
| void | loadDefaults (void) |
| Load default configuration values. More... | |
| bool | load (void) |
| Loads config from the default file (~/CONFIG_FILENAME). More... | |
| bool | load (char *filename) |
| Loads config from a file. More... | |
| bool | save (void) |
| Saves config to the default file (~/CONFIG_FILENAME). More... | |
| bool | saveAs (char *filename) |
| Saves config to a file. More... | |
| void | clear (void) |
| Clear (or reset) all configuration details. More... | |
| void | clearLayout (void) |
| Clear (or reset) only the configuration details to do with layout. More... | |
| void | setSequencePath (char *sequencePath) |
| Set the sequence path. More... | |
| char * | getSequencePath (void) |
| Get the sequence path. More... | |
| void | addPluginPath (char *pluginPath) |
| Set the plugin path. More... | |
| int | getNumPluginPaths (void) |
| Return the number of plugin paths. More... | |
| char * | getPluginPath (int num) |
| Get a plugin path. More... | |
| void | clearPluginPaths (void) |
| Removes all plugin paths from the configuration. More... | |
| void | setWindowWidth (int width) |
| Set the window width. More... | |
| int | getWindowWidth (void) |
| Get the window width. More... | |
| void | setWindowHeight (int height) |
| Set the window height. More... | |
| int | getWindowHeight (void) |
| Get the window height. More... | |
| void | setNumSources (int number) |
| Set the number of image windows. More... | |
| int | getNumSources (void) |
| Get the number of windows. More... | |
| void | setNumWindows (int number) |
| Set the number of image windows. More... | |
| int | getNumWindows (void) |
| Get the number of windows. More... | |
| void | setUseSequence (char *name) |
| Set the sequence to start with. More... | |
| char * | getUseSequence (void) |
| Get the sequence that was started with. More... | |
| void | setCameraType (imageSeqType camera) |
| Set the type of camera. More... | |
| imageSeqType | getCameraType (void) |
| Get the type of camera. More... | |
| bool | isModified (void) |
| Return whether the config has been modified or not. More... | |
| void | setModified (bool on) |
| Set whether the configuration has been modified or not. More... | |
| widgetConfig * | getWidgetConfig (int posn) |
| Return the widget configuration for a given position. More... | |
An instance of this class is created and maintained by the global singleton class 'Improv'.
|
|
Constructor.
|
|
|
Destructor. Deletes the instance of the class. |
|
|
Set the plugin path.
|
|
|
Clear (or reset) all configuration details.
|
|
|
Clear (or reset) only the configuration details to do with layout.
|
|
|
Removes all plugin paths from the configuration.
|
|
|
Get the type of camera.
|
|
|
Return the number of plugin paths.
|
|
|
Get the number of windows.
|
|
|
Get the number of windows.
|
|
|
Get a plugin path.
|
|
|
Get the sequence path.
|
|
|
Get the sequence that was started with.
|
|
|
Return the widget configuration for a given position.
|
|
|
Get the window height.
|
|
|
Get the window width.
|
|
|
Return whether the config has been modified or not.
|
|
|
Loads config from a file.
|
|
|
Loads config from the default file (~/CONFIG_FILENAME).
|
|
||||||||||||
|
Load configuration values for the command line arguments.
|
|
|
Load default configuration values.
|
|
|
Saves config to the default file (~/CONFIG_FILENAME).
|
|
|
Saves config to a file.
|
|
|
Set the type of camera.
|
|
|
Set whether the configuration has been modified or not.
|
|
|
Set the number of image windows.
|
|
|
Set the number of image windows.
|
|
|
Set the sequence path.
|
|
|
Set the sequence to start with.
|
|
|
Set the window height.
|
|
|
Set the window width.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002