FREE::RegistrationObserverBase< TEventType > Class Template Reference
[Events]

Observation class for a registration process. More...

#include <freRegistrationObserver.h>

List of all members.

Public Types

typedef
RegistrationObserverBase 
Self
typedef itk::Command Superclass
typedef
itk::SmartPointer
< Self
Pointer
typedef
itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

 itkNewMacro (Self)
 itkTypeMacro (RegistrationObserverBase, itk::Command)

Public Attributes

NotificationEventBase::Pointer fnOnNotify

Protected Member Functions

 RegistrationObserverBase ()
virtual ~RegistrationObserverBase ()
void Execute (itk::Object *caller, const itk::EventObject &rEvent)
void Execute (const itk::Object *caller, const itk::EventObject &rEvent)


Detailed Description

template<class TEventType>
class FREE::RegistrationObserverBase< TEventType >

Observation class for a registration process.

RegistrationObserverBase is used to observe different parts of the Registration or other itk progresses. The itk event on which he reacts is defined by the template TEventType. If it gets this type of event, it triggers the notify event, if set. The observer only makes a notification, to interpret this and make use of it, is about the receiver of the notification.

Definition at line 46 of file freRegistrationObserver.h.


Member Typedef Documentation

template<class TEventType>
typedef RegistrationObserverBase FREE::RegistrationObserverBase< TEventType >::Self

Standard class typedefs.

Definition at line 50 of file freRegistrationObserver.h.

template<class TEventType>
typedef itk::Command FREE::RegistrationObserverBase< TEventType >::Superclass

Definition at line 51 of file freRegistrationObserver.h.

template<class TEventType>
typedef itk::SmartPointer<Self> FREE::RegistrationObserverBase< TEventType >::Pointer

Definition at line 52 of file freRegistrationObserver.h.

template<class TEventType>
typedef itk::SmartPointer<const Self> FREE::RegistrationObserverBase< TEventType >::ConstPointer

Definition at line 53 of file freRegistrationObserver.h.


Constructor & Destructor Documentation

template<class TEventType>
FREE::RegistrationObserverBase< TEventType >::RegistrationObserverBase (  )  [inline, protected]

Definition at line 33 of file freRegistrationObserver.txx.

References FREE::RegistrationObserverBase< TEventType >::fnOnNotify.

template<class TEventType>
FREE::RegistrationObserverBase< TEventType >::~RegistrationObserverBase (  )  [inline, protected, virtual]

Definition at line 40 of file freRegistrationObserver.txx.


Member Function Documentation

template<class TEventType>
FREE::RegistrationObserverBase< TEventType >::itkNewMacro ( Self   ) 

Special constructor function which provides the itk::Smartpointer feature to this class.

template<class TEventType>
FREE::RegistrationObserverBase< TEventType >::itkTypeMacro ( RegistrationObserverBase< TEventType >  ,
itk::Command   
)

template<class TEventType>
void FREE::RegistrationObserverBase< TEventType >::Execute ( itk::Object *  caller,
const itk::EventObject &  rEvent 
) [inline, protected]

Definition at line 45 of file freRegistrationObserver.txx.

template<class TEventType>
void FREE::RegistrationObserverBase< TEventType >::Execute ( const itk::Object *  caller,
const itk::EventObject &  rEvent 
) [inline, protected]

Function is called, when the observed itk class generates an itk::EventObject.

Parameters:
[in] caller Pointer to the itk object, where the event is coming from.
[in] rEvent Reference to the itk::EventObject. The RegistrationObserver cares only about itk:IterationEvents.

Definition at line 53 of file freRegistrationObserver.txx.

References FREE::RegistrationObserverBase< TEventType >::fnOnNotify.


Member Data Documentation

template<class TEventType>
NotificationEventBase::Pointer FREE::RegistrationObserverBase< TEventType >::fnOnNotify

Event that triggers, when the observer gets an itk::IterationEvent. At default it is NULL and no function will be called.

Definition at line 62 of file freRegistrationObserver.h.

Referenced by FREE::RegistrationObserverBase< TEventType >::Execute(), and FREE::RegistrationObserverBase< TEventType >::RegistrationObserverBase().


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