#include <freRegistrationObserver.h>
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) |
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.
| typedef RegistrationObserverBase FREE::RegistrationObserverBase< TEventType >::Self |
Standard class typedefs.
Definition at line 50 of file freRegistrationObserver.h.
| typedef itk::Command FREE::RegistrationObserverBase< TEventType >::Superclass |
Definition at line 51 of file freRegistrationObserver.h.
| typedef itk::SmartPointer<Self> FREE::RegistrationObserverBase< TEventType >::Pointer |
Definition at line 52 of file freRegistrationObserver.h.
| typedef itk::SmartPointer<const Self> FREE::RegistrationObserverBase< TEventType >::ConstPointer |
Definition at line 53 of file freRegistrationObserver.h.
| FREE::RegistrationObserverBase< TEventType >::RegistrationObserverBase | ( | ) | [inline, protected] |
Definition at line 33 of file freRegistrationObserver.txx.
References FREE::RegistrationObserverBase< TEventType >::fnOnNotify.
| FREE::RegistrationObserverBase< TEventType >::~RegistrationObserverBase | ( | ) | [inline, protected, virtual] |
Definition at line 40 of file freRegistrationObserver.txx.
| FREE::RegistrationObserverBase< TEventType >::itkNewMacro | ( | Self | ) |
Special constructor function which provides the itk::Smartpointer feature to this class.
| FREE::RegistrationObserverBase< TEventType >::itkTypeMacro | ( | RegistrationObserverBase< TEventType > | , | |
| itk::Command | ||||
| ) |
| void FREE::RegistrationObserverBase< TEventType >::Execute | ( | itk::Object * | caller, | |
| const itk::EventObject & | rEvent | |||
| ) | [inline, protected] |
Definition at line 45 of file freRegistrationObserver.txx.
| 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.
| [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.
| 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().
1.5.3 written by Dimitri van Heesch,
© 1997-2000