ITK  5.1.0
Insight Toolkit
Classes | Namespaces
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
 
#define ITKEvent_EXPORT   ITKCommon_EXPORT
 
#define ITKEvent_EXPORT   ITK_ABI_EXPORT
 
#define itkEventMacro(classname, super)
 
#define itkEventMacroDeclaration(classname, super)
 
EventObject itk::itkEventMacroDeclaration (DeleteEvent, AnyEvent) itkEventMacroDeclaration(StartEvent
 
EventObject AnyEvent itk::itkEventMacroDeclaration (EndEvent, AnyEvent) itkEventMacroDeclaration(ProgressEvent
 
EventObject AnyEvent AnyEvent AnyEvent AnyEvent IterationEvent PickEvent itk::itkEventMacroDeclaration (EndPickEvent, PickEvent) itkEventMacroDeclaration(AbortCheckEvent
 
EventObject AnyEvent AnyEvent itk::itkEventMacroDeclaration (ExitEvent, AnyEvent) itkEventMacroDeclaration(AbortEvent
 
EventObject AnyEvent AnyEvent AnyEvent AnyEvent IterationEvent PickEvent PickEvent IterationEvent itk::itkEventMacroDeclaration (FunctionAndGradientEvaluationIterationEvent, IterationEvent) itkEventMacroDeclaration(UserEvent
 
EventObject AnyEvent AnyEvent AnyEvent AnyEvent IterationEvent PickEvent PickEvent itk::itkEventMacroDeclaration (FunctionEvaluationIterationEvent, IterationEvent) itkEventMacroDeclaration(GradientEvaluationIterationEvent
 
EventObject AnyEvent AnyEvent AnyEvent AnyEvent itk::itkEventMacroDeclaration (IterationEvent, AnyEvent) itkEventMacroDeclaration(MultiResolutionIterationEvent
 
EventObject AnyEvent AnyEvent AnyEvent itk::itkEventMacroDeclaration (ModifiedEvent, AnyEvent) itkEventMacroDeclaration(InitializeEvent
 
 itk::itkEventMacroDeclaration (NoEvent, EventObject) itkEventMacroDeclaration(AnyEvent
 
EventObject AnyEvent AnyEvent AnyEvent AnyEvent IterationEvent itk::itkEventMacroDeclaration (PickEvent, AnyEvent) itkEventMacroDeclaration(StartPickEvent
 
#define itkEventMacroDefinition(classname, super)
 
std::ostream & itk::operator<< (std::ostream &os, const EventObject &e)
 

Macro Definition Documentation

◆ ITKEvent_EXPORT [1/2]

#define ITKEvent_EXPORT   ITKCommon_EXPORT

Macros for creating new Events

Definition at line 216 of file itkEventObject.h.

◆ ITKEvent_EXPORT [2/2]

#define ITKEvent_EXPORT   ITK_ABI_EXPORT

Macros for creating new Events

Definition at line 216 of file itkEventObject.h.

◆ itkEventMacro

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

Macros for creating new Events

Definition at line 166 of file itkEventObject.h.

◆ itkEventMacroDeclaration

#define itkEventMacroDeclaration (   classname,
  super 
)
Value:
\
class ITKEvent_EXPORT classname : public super \
{ \
public: \
using Self = classname; \
using Superclass = super; \
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 &); \
};

Macros for creating new Events

Definition at line 123 of file itkEventObject.h.

◆ itkEventMacroDefinition

#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) != nullptr); \
} \
::itk::EventObject * classname::MakeObject() const { return new classname; }

Macros for creating new Events

Definition at line 145 of file itkEventObject.h.

itk::Math::e
static constexpr double e
Definition: itkMath.h:54
itk::EventObject
Abstraction of the Events used to communicating among filters and with GUIs.
Definition: itkEventObject.h:57
ITKEvent_EXPORT
#define ITKEvent_EXPORT
Definition: itkEventObject.h:216