Blender V4.3
GHOST_EventString Class Reference

#include <GHOST_EventString.hh>

Inherits GHOST_Event.

Public Member Functions

 GHOST_EventString (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TEventDataPtr data_ptr)
 
 ~GHOST_EventString ()
 
- Public Member Functions inherited from GHOST_Event
 GHOST_Event (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window)
 
GHOST_TEventType getType () const
 
uint64_t getTime () const
 
GHOST_IWindowgetWindow () const
 
GHOST_TEventDataPtr getData () const
 
- Public Member Functions inherited from GHOST_IEvent
virtual ~GHOST_IEvent ()
 

Additional Inherited Members

- Protected Attributes inherited from GHOST_Event
GHOST_TEventType m_type
 
uint64_t m_time
 
GHOST_IWindowm_window
 
GHOST_TEventDataPtr m_data
 

Detailed Description

Generic class for events with string data

Definition at line 17 of file GHOST_EventString.hh.

Constructor & Destructor Documentation

◆ GHOST_EventString()

GHOST_EventString::GHOST_EventString ( uint64_t msec,
GHOST_TEventType type,
GHOST_IWindow * window,
GHOST_TEventDataPtr data_ptr )
inline

Constructor.

Parameters
msecThe time this event was generated.
typeThe type of this event.
windowThe generating window (or nullptr if system event).
data_ptrPointer to the (un-formatted) data associated with the event.

Definition at line 26 of file GHOST_EventString.hh.

References GHOST_Event::m_data.

◆ ~GHOST_EventString()

GHOST_EventString::~GHOST_EventString ( )
inline

Definition at line 35 of file GHOST_EventString.hh.

References free(), and GHOST_Event::m_data.


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