#include <freControllerFactory.h>
Public Types | |
| typedef TController | ControllerType |
Public Member Functions | |
| virtual GenericComponentController * | GetController () const |
| virtual const std::string & | GetControllerID () const |
| ControllerFactory () | |
| virtual | ~ControllerFactory () |
Protected Member Functions | |
| void | CreateController () |
| void | DeleteController () |
Protected Attributes | |
| ControllerType * | m_OwnController |
ControllerCentral is used to create and manage control elements (ComponentControllerBase or derivates) for a setup component. The class owns a static method Initialize() (called while construction), this method registers all default controller and searches in the defined paths (environment variable FREE_AUTOLOAD_PATH) for dlls with the symbol freeController. When the symbol is found, it returns a pointer to an instance of a ComponentController (implemented in the dll) is passed and registered at the central. FREE_AUTOLOAD_PATH is an environment variable, which contains a semicolon separated list of paths.
Definition at line 47 of file freControllerFactory.h.
| typedef TController FREE::ControllerFactory< TController >::ControllerType |
Definition at line 50 of file freControllerFactory.h.
| FREE::ControllerFactory< TController >::ControllerFactory | ( | ) |
| virtual FREE::ControllerFactory< TController >::~ControllerFactory | ( | ) | [virtual] |
| virtual GenericComponentController* FREE::ControllerFactory< TController >::GetController | ( | ) | const [virtual] |
| virtual const std::string& FREE::ControllerFactory< TController >::GetControllerID | ( | ) | const [virtual] |
| void FREE::ControllerFactory< TController >::CreateController | ( | ) | [protected] |
| void FREE::ControllerFactory< TController >::DeleteController | ( | ) | [protected] |
ControllerType* FREE::ControllerFactory< TController >::m_OwnController [protected] |
Definition at line 63 of file freControllerFactory.h.
1.5.3 written by Dimitri van Heesch,
© 1997-2000