Darwin
1.10(beta)
|
Interface for a configurable module. More...
Public Member Functions | |
drwnConfigurableModule (const char *module) | |
create a configurable module and register it with the configuration manager | |
virtual | ~drwnConfigurableModule () |
destroy the configurable module and unregister it from the configuration manager | |
const string & | name () const |
return the name of the module | |
virtual void | usage (ostream &os) const |
display configuration usage | |
void | readConfiguration (const char *filename) |
read configuration from an XML file | |
virtual void | readConfiguration (drwnXMLNode &node) |
read configuration from an XML node | |
virtual void | setConfiguration (const char *name, const char *value)=0 |
set individual configurable parameter | |
Interface for a configurable module.
Client code should inherit from drwnConfigurableModule and override the usage and setConfiguration member functions.