47 inline const string&
name()
const {
return _moduleName; }
49 virtual void usage(ostream& os)
const;
52 void readConfiguration(
const char *filename);
54 virtual void readConfiguration(drwnXMLNode& node);
56 virtual void setConfiguration(
const char* name,
const char *value) = 0;
75 typedef map<string, drwnConfigurableModule *> drwnConfigRegistry;
76 drwnConfigRegistry _registry;
85 void configure(
const char *filename);
87 void configure(drwnXMLNode& root);
89 void configure(
const char *module,
const char *
name,
const char *value);
92 void showModuleUsage(
const char *module)
const;
94 void showRegistry(
bool bIncludeUsage =
true)
const;
const string & name() const
return the name of the module
Definition: drwnConfigManager.h:47
Configuration manager.
Definition: drwnConfigManager.h:71
Interface for a configurable module.
Definition: drwnConfigManager.h:35
Provides XML parsing functionality for serializing and deserializing objects and containers of object...