ACQ2XX_API
Public Member Functions | Static Public Member Functions | Data Fields
ProcessControllerRegistry Class Reference

Why the crazy stuff below?. More...

#include <ProcessController.h>

Public Member Functions

void registerController (const string key, ProcessControllerCreator *pcc)

Static Public Member Functions

static ProcessControllerRegistryinstance ()

Data Fields

map< const string,
ProcessControllerCreator * > 
creators

Detailed Description

Why the crazy stuff below?.

Well, ProcessControllerRegistry and ProcessControllerCreator allow new ProcessControllers to be added by static data initialization. in other words, a plug-in. @todo there's probably a simpler way, but this works. singleton

Definition at line 100 of file ProcessController.h.


Member Function Documentation

ProcessControllerRegistry & ProcessControllerRegistry::instance ( ) [static]
void ProcessControllerRegistry::registerController ( const string  key,
ProcessControllerCreator pcc 
)

Field Documentation

Definition at line 110 of file ProcessController.h.

Referenced by ProcessController::create(), and registerController().


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