VTK  9.4.20241010
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkEventData Class Referenceabstract

#include <vtkEventData.h>

Inheritance diagram for vtkEventData:
[legend]
Collaboration diagram for vtkEventData:
[legend]

Public Member Functions

 vtkBaseTypeMacro (vtkEventData, vtkObjectBase)
 
int GetType () const
 
void SetType (int val)
 
bool operator== (const vtkEventData &a) const
 
virtual vtkEventDataForDeviceGetAsEventDataForDevice ()
 
virtual vtkEventDataDevice3DGetAsEventDataDevice3D ()
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string.
 
virtual std::string GetObjectDescription () const
 The object description printed in messages and PrintSelf output.
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class.
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
virtual void Delete ()
 Delete a VTK object.
 
virtual void FastDelete ()
 Delete a reference to this object.
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream.
 
void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object).
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object).
 
int GetReferenceCount ()
 Return the current reference count of this object.
 
void SetReferenceCount (int)
 Sets the reference count.
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space.
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses.
 
virtual bool UsesGarbageCollector () const
 Indicate whether the class uses vtkGarbageCollector or not.
 

Protected Member Functions

 vtkEventData ()=default
 
 ~vtkEventData () override=default
 
virtual bool Equivalent (const vtkEventData *ed) const =0
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void ObjectFinalize ()
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int Type
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class.
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
 
- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 

Detailed Description

Definition at line 57 of file vtkEventData.h.

Constructor & Destructor Documentation

◆ vtkEventData()

vtkEventData::vtkEventData ( )
protecteddefault

◆ ~vtkEventData()

vtkEventData::~vtkEventData ( )
overrideprotecteddefault

Member Function Documentation

◆ vtkBaseTypeMacro()

vtkEventData::vtkBaseTypeMacro ( vtkEventData  ,
vtkObjectBase   
)

◆ GetType()

int vtkEventData::GetType ( ) const
inline

Definition at line 62 of file vtkEventData.h.

◆ SetType()

void vtkEventData::SetType ( int  val)
inline

Definition at line 63 of file vtkEventData.h.

◆ operator==()

bool vtkEventData::operator== ( const vtkEventData a) const
inline

Definition at line 66 of file vtkEventData.h.

◆ GetAsEventDataForDevice()

virtual vtkEventDataForDevice * vtkEventData::GetAsEventDataForDevice ( )
inlinevirtual

Reimplemented in vtkEventDataForDevice.

Definition at line 72 of file vtkEventData.h.

◆ GetAsEventDataDevice3D()

virtual vtkEventDataDevice3D * vtkEventData::GetAsEventDataDevice3D ( )
inlinevirtual

Reimplemented in vtkEventDataDevice3D.

Definition at line 73 of file vtkEventData.h.

◆ Equivalent()

virtual bool vtkEventData::Equivalent ( const vtkEventData ed) const
protectedpure virtual

Implemented in vtkEventDataForDevice.

Member Data Documentation

◆ Type

int vtkEventData::Type
protected

Definition at line 83 of file vtkEventData.h.


The documentation for this class was generated from the following file: