Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
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 118 of file itkEventObject.h.

#define itkEventMacro (   classname,
  super 
)
Value:
class  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); } \
     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 118 of file itkEventObject.h.


Generated at Mon Jul 12 2010 20:20:58 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000