FREE::ControllerFactoryBase Class Reference
[Processing engine (API classes)]

Creates and manages instances of GenericComponentController. More...

#include <freControllerFactoryBase.h>

List of all members.

Public Types

typedef std::map
< std::string,
ControllerFactoryBase * > 
FactoryListType
typedef std::map
< std::string,
GenericComponentController * > 
ControllerFactoryListType

Public Member Functions

virtual
GenericComponentController
GetController () const
virtual const
std::string & 
GetControllerID () const

Static Public Member Functions

static
ControllerFactoryBase
GetFactory (const std::string &controllerID)
static
GenericComponentController
GetController (const std::string &controllerID)

Protected Member Functions

 ControllerFactoryBase ()
virtual ~ControllerFactoryBase ()

Static Protected Attributes

static FactoryListType m_FactoryList
static
itk::MutexLock::Pointer 
m_CallbackMutex
static
itk::MutexLock::Pointer 
m_ProgressMutex
static itk::MutexLock * m_GlobalCallbackMutex
static itk::MutexLock * m_GlobalProgressMutex
static bool m_bControllersAreExternal


Detailed Description

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 52 of file freControllerFactoryBase.h.


Member Typedef Documentation

typedef std::map<std::string, ControllerFactoryBase*> FREE::ControllerFactoryBase::FactoryListType

Definition at line 55 of file freControllerFactoryBase.h.

typedef std::map<std::string, GenericComponentController*> FREE::ControllerFactoryBase::ControllerFactoryListType

Definition at line 57 of file freControllerFactoryBase.h.


Constructor & Destructor Documentation

FREE::ControllerFactoryBase::ControllerFactoryBase (  )  [protected]

virtual FREE::ControllerFactoryBase::~ControllerFactoryBase (  )  [protected, virtual]


Member Function Documentation

virtual GenericComponentController* FREE::ControllerFactoryBase::GetController (  )  const [virtual]

Standard class typedefs.

virtual const std::string& FREE::ControllerFactoryBase::GetControllerID (  )  const [virtual]

static ControllerFactoryBase* FREE::ControllerFactoryBase::GetFactory ( const std::string &  controllerID  )  [static]

static GenericComponentController* FREE::ControllerFactoryBase::GetController ( const std::string &  controllerID  )  [static]


Member Data Documentation

FactoryListType FREE::ControllerFactoryBase::m_FactoryList [static, protected]

Definition at line 72 of file freControllerFactoryBase.h.

itk::MutexLock::Pointer FREE::ControllerFactoryBase::m_CallbackMutex [static, protected]

Definition at line 74 of file freControllerFactoryBase.h.

itk::MutexLock::Pointer FREE::ControllerFactoryBase::m_ProgressMutex [static, protected]

Definition at line 75 of file freControllerFactoryBase.h.

itk::MutexLock* FREE::ControllerFactoryBase::m_GlobalCallbackMutex [static, protected]

If central is dedicated this mutex sychnorizes the event calls between all centrals if the central is not dedicated the pointer is null

Definition at line 79 of file freControllerFactoryBase.h.

itk::MutexLock* FREE::ControllerFactoryBase::m_GlobalProgressMutex [static, protected]

If central is dedicated this mutex sychnorizes the event calls between all centrals if the central is not dedicated the pointer is null

Definition at line 82 of file freControllerFactoryBase.h.

bool FREE::ControllerFactoryBase::m_bControllersAreExternal [static, protected]

Flag indicates if the controllers are owned by the central in the modul or by an other central, and are just passed by LinkControllerCentral()

Definition at line 86 of file freControllerFactoryBase.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