RavEngine
Loading...
Searching...
No Matches
physx::profile::Event Class Reference

#include <PxProfileEvents.h>

Public Member Functions

typedef PX_PROFILE_UNION_7 (StartEvent, StopEvent, RelativeStartEvent, RelativeStopEvent, EventValue, CUDAProfileBuffer, uint8_t) EventData
 
template<typename TDataType >
 Event (EventHeader inHeader, const TDataType &inData)
 
template<typename TDataType >
 Event (uint16_t eventId, const TDataType &inData)
 
const EventHeader & getHeader () const
 
const EventData & getData () const
 
template<typename TDataType >
const TDataType & getValue () const
 
template<typename TDataType >
TDataType & getValue ()
 
template<typename TRetVal , typename TOperator >
TRetVal visit (TOperator inOp) const
 
bool operator== (const Event &inOther) const
 

Detailed Description

Generic event container that combines and even header with the generic event data type. Provides unsafe and typesafe access to the event data.


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