ITK  4.8.0
Insight Segmentation and Registration Toolkit
Classes | Namespaces | Macros
itkEventObject.h File Reference
#include "itkIndent.h"
+ Include dependency graph for itkEventObject.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  itk::EventObject
 

Namespaces

 itk
 

Macros

#define ITKEvent_EXPORT   ITKCommon_EXPORT
 
#define ITKEvent_EXPORT   ITK_ABI_EXPORT
 
#define itkEventMacro(classname, super)
 
#define itkEventMacroDeclaration(classname, super)
 
#define itkEventMacroDefinition(classname, super)
 

Functions

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

Macro Definition Documentation

#define ITKEvent_EXPORT   ITKCommon_EXPORT

Delclare some common ITK events

Definition at line 194 of file itkEventObject.h.

#define ITKEvent_EXPORT   ITK_ABI_EXPORT

Delclare some common ITK events

Definition at line 194 of file itkEventObject.h.

#define itkEventMacro (   classname,
  super 
)
Value:
\
class ITKEvent_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 ) != ITK_NULLPTR ); } \
virtual::itk::EventObject *MakeObject() const \
{ return new Self; } \
classname(const Self &s):super(s){}; \
private: \
void operator=(const Self &); \
};
#define ITKEvent_EXPORT
static const double e
The base of the natural logarithm or Euler&#39;s number
Definition: itkMath.h:45

Definition at line 150 of file itkEventObject.h.

#define itkEventMacroDeclaration (   classname,
  super 
)
Value:
\
class ITKEvent_EXPORT classname:public super \
{ \
public: \
typedef classname Self; \
typedef super Superclass; \
classname(); \
classname(const Self &s); \
virtual ~classname(); \
virtual const char *GetEventName() const; \
virtual bool CheckEvent(const::itk::EventObject * e) const; \
virtual ::itk::EventObject *MakeObject() const; \
private: \
void operator=(const Self &); \
};
#define ITKEvent_EXPORT
static const double e
The base of the natural logarithm or Euler&#39;s number
Definition: itkMath.h:45

Macros for creating new Events

Definition at line 115 of file itkEventObject.h.

#define itkEventMacroDefinition (   classname,
  super 
)
Value:
classname::classname() {} \
classname::classname(const classname &s):super(s){}; \
classname::~classname() {} \
const char * classname::GetEventName() const { return #classname; } \
bool classname::CheckEvent(const::itk::EventObject * e) const \
{ return ( dynamic_cast< const classname * >( e ) != ITK_NULLPTR ); } \
::itk::EventObject *classname::MakeObject() const { return new classname; } \
static const double e
The base of the natural logarithm or Euler&#39;s number
Definition: itkMath.h:45
Abstraction of the Events used to communicating among filters and with GUIs.

Definition at line 132 of file itkEventObject.h.