VTK  9.4.20241104
Classes | Macros
vtkCommand.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkObject.h"
#include "vtkObjectBase.h"
Include dependency graph for vtkCommand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkCommand
 superclass for callback/observer methods More...
 

Macros

#define vtkAllEventsMacro()
 
#define vtkEventDeclarationMacro(_enum_name)
 
#define _vtk_add_event(Enum)   Enum,
 All the currently defined events are listed here.
 

Macro Definition Documentation

◆ vtkAllEventsMacro

#define vtkAllEventsMacro ( )

Definition at line 230 of file vtkCommand.h.

◆ vtkEventDeclarationMacro

#define vtkEventDeclarationMacro (   _enum_name)
Value:
enum _enum_name \
{ \
NoEvent = 0, \
vtkAllEventsMacro() UserEvent = 1000 \
}

Definition at line 374 of file vtkCommand.h.

◆ _vtk_add_event

#define _vtk_add_event (   Enum)    Enum,

All the currently defined events are listed here.

Developers can use – vtkCommand::UserEvent + int to specify their own event ids. Add new events by updating vtkAllEventsMacro.

Definition at line 450 of file vtkCommand.h.