ITK  4.1.0
Insight Segmentation and Registration Toolkit
Classes | Namespaces
itkEventObject.h File Reference

Go to the source code of this file.

Classes

class  itk::AbortCheckEvent
class  itk::AbortEvent
class  itk::AnyEvent
class  itk::DeleteEvent
class  itk::EndEvent
class  itk::EndPickEvent
class  itk::EventObject
 Abstraction of the Events used to communicating among filters and with GUIs. More...
class  itk::ExitEvent
class  itk::FunctionAndGradientEvaluationIterationEvent
class  itk::FunctionEvaluationIterationEvent
class  itk::GradientEvaluationIterationEvent
class  itk::InitializeEvent
class  itk::IterationEvent
class  itk::ModifiedEvent
class  itk::NoEvent
class  itk::PickEvent
class  itk::ProgressEvent
class  itk::StartEvent
class  itk::StartPickEvent
class  itk::UserEvent

Namespaces

namespace  itk

Defines

#define itkEventMacro(classname, super)
#define itkEventMacro(classname, super)

Functions

std::ostream & itk::operator<< (std::ostream &os, EventObject &e)

Define Documentation

#define itkEventMacro (   classname,
  super 
)

Macro for creating new Events

Definition at line 117 of file itkEventObject.h.

#define itkEventMacro (   classname,
  super 
)
Value:
class ITK_ABI_EXPORT classname:public super                        \
  {                                                                  \
public:                                                              \
    typedef classname Self;                                          \
    typedef super     Superclass;                                    \
    classname() {}                                                   \
    virtual ~classname() {}                                          \
    virtual const char *GetEventName() const { return #classname; } \
    virtual bool CheckEvent(const::itk::EventObject * e) const       \
               { return ( dynamic_cast< const Self * >( e ) != NULL ); }         \
    virtual::itk::EventObject *MakeObject() const                    \
               { return new Self; }                                  \
    classname(const Self &s):super(s){};                             \
private:                                                             \
    void operator=(const Self &);                                    \
  };

Macro for creating new Events

Definition at line 117 of file itkEventObject.h.