VTK  9.2.6
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)
 All the currently defined events are listed here.

Macro Definition Documentation

◆ vtkAllEventsMacro

#define vtkAllEventsMacro ( )

Definition at line 242 of file vtkCommand.h.

◆ vtkEventDeclarationMacro

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

Definition at line 386 of file vtkCommand.h.

◆ _vtk_add_event

#define _vtk_add_event ( Enum)
Value:
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 461 of file vtkCommand.h.