ITK  5.2.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
 
 itk::itkEventMacroDeclaration (AbortCheckEvent, PickEvent)
 
 itk::itkEventMacroDeclaration (AbortEvent, AnyEvent)
 
 itk::itkEventMacroDeclaration (AnyEvent, EventObject)
 
#define itkEventMacroDeclaration(classname, super)
 
 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)
 
#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 226 of file itkEventObject.h.

◆ ITKEvent_EXPORT [2/2]

#define ITKEvent_EXPORT   ITK_ABI_EXPORT

Macros for creating new Events

Definition at line 226 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 &); \
}; \
static_assert(true, "Compile time eliminated. Used to require a semi-colon at end of macro.")

Macros for creating new Events

Definition at line 122 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; } \
static_assert(true, "Compile time eliminated. Used to require a semi-colon at end of macro.")

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:226