RavEngine
Loading...
Searching...
No Matches
physx::profile::DataBuffer< TMutex, TScopedLock > Class Template Reference
Inheritance diagram for physx::profile::DataBuffer< TMutex, TScopedLock >:
[legend]
Collaboration diagram for physx::profile::DataBuffer< TMutex, TScopedLock >:
[legend]

Public Types

typedef TMutex TMutexType
 
typedef TScopedLock TScopedLockType
 
typedef PxProfileWrapperNamedAllocator TU8AllocatorType
 
typedef MemoryBuffer< TU8AllocatorType > TMemoryBufferType
 
typedef PxProfileArray< PxProfileEventBufferClient * > TBufferClientArray
 

Public Member Functions

 DataBuffer (PxAllocatorCallback *inFoundation, uint32_t inBufferFullAmount, TMutexType *inBufferMutex, const char *inAllocationName)
 
PxProfileAllocatorWrapper & getWrapper ()
 
TMutexType * getBufferMutex ()
 
void setBufferMutex (TMutexType *mutex)
 
void addClient (PxProfileEventBufferClient &inClient)
 
void removeClient (PxProfileEventBufferClient &inClient)
 
bool hasClients () const
 
virtual void flushEvents ()
 
virtual void handleBufferFlush (const uint8_t *inData, uint32_t inDataSize)
 

Protected Member Functions

virtual void clearCachedData ()
 

Protected Attributes

PxProfileAllocatorWrapper mWrapper
 
TMemoryBufferType mDataArray
 
TBufferClientArray mBufferClients
 
uint32_t mBufferFullAmount
 
EventContextInformation mEventContextInformation
 
TMutexType * mBufferMutex
 
volatile bool mHasClients
 
EventSerializer< TMemoryBufferType > mSerializer
 

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