Class ApiObjectLifetimeEvent

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class ApiObjectLifetimeEvent : public gpa::runtime::EventData

Subclassed by gpa::common::ApiObjectCreatedEvent, gpa::common::ApiObjectDestroyedEvent

Public Types

enum Type

Values:

enumerator OBJECT_NONE
enumerator OBJECT_INSTANCE
enumerator OBJECT_DEVICE
enumerator OBJECT_QUEUE
enumerator OBJECT_COMMAND_LIST
enum Api

Values:

enumerator API_NONE
enumerator API_D3D_9
enumerator API_D3D_10
enumerator API_D3D_11
enumerator API_D3D_12
enumerator API_METAL
enumerator API_VULKAN

Public Functions

virtual void Init() override

Called by default constructor implementation. This method has a default, empty implementation, so it is optional for implementing classes.

void *GetObjectHandle() const
Type GetEventType() const
Api GetEventApi() const
void SetObjectHandle(void *handle)
void SetEventType(Type type)
void SetEventApi(Api api)