Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
drwnConfigurableModule Class Referenceabstract

Interface for a configurable module. More...

Inheritance diagram for drwnConfigurableModule:
drwnADLPInferenceConfig drwnBoostedClassifierConfig drwnCodeProfilerConfig drwnCompositeClassifierConfig drwnConfusionMatrixConfig drwnDecisionTreeConfig drwnGaussianConfig drwnGaussianMixtureConfig drwnGrabCutConfig drwnHOGFeaturesConfig drwnImageCacheConfig drwnImageInPainterConfig drwnImagePyramidCacheConfig drwnKMeansConfig drwnLinearRegressorConfig drwnLoggerConfig drwnMAPInferenceConfig drwnMaskedPatchMatchConfig drwnMultiClassLogisticConfig drwnMultiSegConfig drwnNNGraphConfig drwnNNGraphLearnerConfig drwnOpenCVUtilsConfig drwnPartsModelConfig drwnPatchMatchConfig drwnRandomForestConfig drwnSegImagePixelFeaturesConfig drwnSegImageRegionFeaturesConfig drwnThreadPoolConfig drwnTRWSInferenceConfig drwnXMLUtilsConfig

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

Detailed Description

Interface for a configurable module.

Client code should inherit from drwnConfigurableModule and override the usage and setConfiguration member functions.

See Also
Configuration Manager

The documentation for this class was generated from the following files: