ITK  6.0.0
Insight Toolkit
Classes | Namespaces | Macros
itkEventObject.h File Reference
#include "itkMacro.h"
#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 itkEventMacroDeclaration(classname, super)
 
#define itkEventMacroDefinition(classname, super)
 

Functions

std::ostream & itk::operator<< (std::ostream &os, const EventObject &e)
 
 itk::itkEventMacroDeclaration (AbortCheckEvent, PickEvent)
 
 itk::itkEventMacroDeclaration (AbortEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (AnyEvent, EventObject)
 
 itk::itkEventMacroDeclaration (DeleteEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (EndEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (EndPickEvent, PickEvent)
 
 itk::itkEventMacroDeclaration (ExitEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (FunctionAndGradientEvaluationIterationEvent, IterationEvent)
 
 itk::itkEventMacroDeclaration (FunctionEvaluationIterationEvent, IterationEvent)
 
 itk::itkEventMacroDeclaration (GradientEvaluationIterationEvent, IterationEvent)
 
 itk::itkEventMacroDeclaration (InitializeEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (IterationEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (ModifiedEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (MultiResolutionIterationEvent, IterationEvent)
 
 itk::itkEventMacroDeclaration (NoEvent, EventObject)
 
 itk::itkEventMacroDeclaration (PickEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (ProgressEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (StartEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (StartPickEvent, PickEvent)
 
 itk::itkEventMacroDeclaration (UserEvent, AnyEvent)
 

Macro Definition Documentation

◆ ITKEvent_EXPORT [1/2]

#define ITKEvent_EXPORT   ITKCommon_EXPORT

Definition at line 227 of file itkEventObject.h.

◆ ITKEvent_EXPORT [2/2]

#define ITKEvent_EXPORT   ITK_ABI_EXPORT

Definition at line 227 of file itkEventObject.h.

◆ itkEventMacroDeclaration

#define itkEventMacroDeclaration (   classname,
  super 
)
Value:
\
class ITKEvent_EXPORT classname : public super \
{ \
public: \
using Self = classname; \
using Superclass = super; \
classname() = default; \
classname(const Self & s); \
virtual ~classname() override; \
virtual const char * \
GetEventName() const override; \
virtual bool \
CheckEvent(const itk::EventObject * e) const override; \
virtual itk::EventObject * \
MakeObject() const override; \
\
private: \
void \
operator=(const Self &); \
}; \
ITK_MACROEND_NOOP_STATEMENT

Macros for creating new Events

Definition at line 123 of file itkEventObject.h.

◆ itkEventMacroDefinition

#define itkEventMacroDefinition (   classname,
  super 
)
Value:
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; } \
ITK_MACROEND_NOOP_STATEMENT

Definition at line 146 of file itkEventObject.h.

itk::Math::e
static constexpr double e
Definition: itkMath.h:56
itk::EventObject
Abstraction of the Events used to communicating among filters and with GUIs.
Definition: itkEventObject.h:58
AddImageFilter
Definition: itkAddImageFilter.h:81
Superclass
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
Definition: itkAddImageFilter.h:90
ITKEvent_EXPORT
#define ITKEvent_EXPORT
Definition: itkEventObject.h:227