FREE::ControllerFactory< TController > Class Template Reference
[Processing engine (API classes)]

Creates and manages instances of GenericComponentController. More...

#include <freControllerFactory.h>

List of all members.

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

ControllerTypem_OwnController


Detailed Description

template<typename TController>
class FREE::ControllerFactory< TController >

Creates and manages instances of GenericComponentController.

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.


Member Typedef Documentation

template<typename TController>
typedef TController FREE::ControllerFactory< TController >::ControllerType

Definition at line 50 of file freControllerFactory.h.


Constructor & Destructor Documentation

template<typename TController>
FREE::ControllerFactory< TController >::ControllerFactory (  ) 

template<typename TController>
virtual FREE::ControllerFactory< TController >::~ControllerFactory (  )  [virtual]


Member Function Documentation

template<typename TController>
virtual GenericComponentController* FREE::ControllerFactory< TController >::GetController (  )  const [virtual]

template<typename TController>
virtual const std::string& FREE::ControllerFactory< TController >::GetControllerID (  )  const [virtual]

template<typename TController>
void FREE::ControllerFactory< TController >::CreateController (  )  [protected]

template<typename TController>
void FREE::ControllerFactory< TController >::DeleteController (  )  [protected]


Member Data Documentation

template<typename TController>
ControllerType* FREE::ControllerFactory< TController >::m_OwnController [protected]

Definition at line 63 of file freControllerFactory.h.


The documentation for this class was generated from the following file:
Generated at Sat Oct 13 18:29:23 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000