FREE::DemonRegistrationControllerBase< TControlledDemonProcessor > Class Template Reference
[Processor controllerRegistration controller]

Controllerclass for a demon based registration. More...

#include <freDemonRegistrationController.h>

Inheritance diagram for FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >:

Inheritance graph
FREE::Demon2DRegistrationController\< FREE::DemonRegistrationProcessor \>FREE::Demon3DRegistrationController\< FREE::DemonRegistrationProcessor \>FREE::RegistrationProcessorControllerBase\< TControlledDemonProcessor \>FREE::ProcessorControllerBase\< TControlledDemonProcessor \>FREE::ComponentControllerBase\< TControlledDemonProcessor \>FREE::ComponentControllerInterface
[legend]
Collaboration diagram for FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >:

Collaboration graph
FREE::RegistrationProcessorControllerBase\< TControlledDemonProcessor \>FREE::ProcessorControllerBase\< TControlledDemonProcessor \>FREE::ComponentControllerBase\< TControlledDemonProcessor \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObject
[legend]

List of all members.

Public Types

typedef
TControlledDemonProcessor 
ComponentType
typedef
RegistrationProcessorControllerBase
< ComponentType
Superclass
typedef
Superclass::GenericComponentType 
GenericComponentType
typedef
Superclass::GenericComponentPointer 
GenericComponentPointer
typedef
Superclass::GenericMediaPointer 
GenericMediaPointer

Public Member Functions

 itkTypeMacro (DemonRegistrationControllerBase, RegistrationProcessorControllerBase)
virtual
ValidityTag::Pointer 
GetMediaValidityTagRequirement (const MediaID &mediaID, SessionComponentCache *pComponentCache) const

Protected Member Functions

 DemonRegistrationControllerBase ()
virtual void GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const
virtual
GenericComponentType
GetSubComponentCasted (ComponentType *pMainComponent, const ComponentID &compID, SessionComponentCache *pMainComponentCache) const
virtual void SetSubComponentCasted (GenericComponentType *pSubComponent, ComponentType *pMainComponent, const ComponentID compID, SessionComponentCache *pMainComponentCache) const
virtual
GenericMediaPointer 
GetMediaCasted (const MediaID &mediaID, ComponentType *pComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo) const
virtual void SetMediaCasted (const MediaID &mediaID, GenericMediaType *pMedia, ComponentType *pComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo) const


Detailed Description

template<class TControlledDemonProcessor>
class FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >

Controllerclass for a demon based registration.

DemonRegistrationController is derived from ProcessorControllerBase and is the controller for demon based registration implemented by DemonRegistrationProcessor.

Definition at line 45 of file freDemonRegistrationController.h.


Member Typedef Documentation

template<class TControlledDemonProcessor>
typedef TControlledDemonProcessor FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::ComponentType

The component class managed by the controller. The component class must be a derivation from itk::LightObject to ensure the ability to use the smartpointer concept of itk

Reimplemented from FREE::RegistrationProcessorControllerBase< TControlledDemonProcessor >.

Reimplemented in FREE::Demon2DRegistrationController, and FREE::Demon3DRegistrationController.

Definition at line 48 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
typedef RegistrationProcessorControllerBase<ComponentType> FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::Superclass

Reimplemented from FREE::RegistrationProcessorControllerBase< TControlledDemonProcessor >.

Reimplemented in FREE::Demon2DRegistrationController, and FREE::Demon3DRegistrationController.

Definition at line 49 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
typedef Superclass::GenericComponentType FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GenericComponentType

Generic component type

Reimplemented from FREE::RegistrationProcessorControllerBase< TControlledDemonProcessor >.

Definition at line 50 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
typedef Superclass::GenericComponentPointer FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GenericComponentPointer

Generic smartpointer for the controller interface

Reimplemented from FREE::RegistrationProcessorControllerBase< TControlledDemonProcessor >.

Definition at line 51 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
typedef Superclass::GenericMediaPointer FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GenericMediaPointer

Reimplemented from FREE::RegistrationProcessorControllerBase< TControlledDemonProcessor >.

Definition at line 52 of file freDemonRegistrationController.h.


Constructor & Destructor Documentation

template<class TControlledDemonProcessor>
FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::DemonRegistrationControllerBase (  )  [inline, protected]

Definition at line 90 of file freDemonRegistrationController.h.


Member Function Documentation

template<class TControlledDemonProcessor>
FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::itkTypeMacro ( DemonRegistrationControllerBase< TControlledDemonProcessor >  ,
RegistrationProcessorControllerBase   
)

template<class TControlledDemonProcessor>
virtual ValidityTag::Pointer FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GetMediaValidityTagRequirement ( const MediaID mediaID,
SessionComponentCache pComponentCache 
) const [inline, virtual]

Retrieves the validity tag requirement of the media specified by the mediaID. The requirement is the most up to date ValidityTag in the dependency chain of a media component.
Reimplement GetMediaValidityTagRequirement() to realize special controller behavior accordingly a certain dependency chain.
This version returns only the ValidityTag of the specified media; thus the media has no dependencies.

Parameters:
[in] mediaID ID specifying the wanted media.
[in] pComponentCache Pointer to the component cache.
Returns:
ValidityTag requirement

Reimplemented from FREE::ComponentControllerBase< TControlledDemonProcessor >.

Definition at line 56 of file freDemonRegistrationController.h.

Referenced by FREE::DemonRegistrationControllerBase< FREE::DemonRegistrationProcessor >::GetMediaCasted().

template<class TControlledDemonProcessor>
virtual void FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GenerateProfile ( CtrlProfile::ControllerProfile profile,
const SessionComponentCache pComponentCache,
bool  bRegardOldSetup 
) const [inline, protected, virtual]

Adjusts the current profile according to the definitions of the controller.
Method should call the superclass variant to regard demands of basic controllers.

Parameters:
[in,out] profile Reference of the current profile.
[in] pComponentCache Pointer to the cache indicating the location of the component that should be profiled. This pointer can be null. In this case only a default profile that isn't context sensitive is wanted (others aren't possible anyway)
[in] bRegardOldSetup If true, the setup of pComponentCache is valid and should be regarded when the profile is generated. Otherwise just use defaults if setup information is needed.

Reimplemented from FREE::ComponentControllerBase< TControlledDemonProcessor >.

Definition at line 97 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
virtual GenericComponentType* FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GetSubComponentCasted ( ComponentType pMainComponent,
const ComponentID compID,
SessionComponentCache pMainComponentCache 
) const [inline, protected, virtual]

Returns the subcomponent specified by the ComponentID. If the component ID is not defined, the return is NULL.
Reimplement the virtual variant of this member function to realize special controller behavior. This version is only for establishing a generic interface.

Parameters:
[in] pMainComponent Pointer to the casted main component, containing the wanted subcomponent.
[in] compID ID specifying the wanted subcomponent.
[in] pMainComponentCache Pointer to the cache of the main component.

Reimplemented from FREE::ComponentControllerBase< TControlledDemonProcessor >.

Definition at line 134 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
virtual void FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::SetSubComponentCasted ( GenericComponentType pSubComponent,
ComponentType pMainComponent,
const ComponentID  compID,
SessionComponentCache pMainComponentCache 
) const [inline, protected, virtual]

Definition at line 142 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
virtual GenericMediaPointer FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::GetMediaCasted ( const MediaID mediaID,
ComponentType pComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo 
) const [inline, protected, virtual]

Returns the media specified by the MediaID. If the media ID is not handled, an exception will be thrown.
Reimplement this member function to realize special controller behavior. This version is only for establishing a generic interface.

Parameters:
[in] mediaID ID specifying the wanted media.
[in] pComponent Pointer to the casted component of the passed cache.
[in] pComponentCache Pointer to the component cache.
[in] pSessionInfo Pointer to the session info.
Returns:
Smartpointer to the media.
Remarks:
If media is unknown to controller, an exception will be raised.

Reimplemented from FREE::ComponentControllerBase< TControlledDemonProcessor >.

Definition at line 150 of file freDemonRegistrationController.h.

template<class TControlledDemonProcessor>
virtual void FREE::DemonRegistrationControllerBase< TControlledDemonProcessor >::SetMediaCasted ( const MediaID mediaID,
GenericMediaType pMedia,
ComponentType pComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo 
) const [inline, protected, virtual]

Definition at line 182 of file freDemonRegistrationController.h.


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