Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkEventObject.h File Reference

Go to the source code of this file.

Namespaces

namespace  itk

Defines

#define itkEventMacro(classname, super)


Define Documentation

#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&); \
 }

Definition at line 114 of file itkEventObject.h.


Generated at Thu May 25 00:19:23 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000