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

Public Types

typedef DataBuffer< TMutex, TScopedLock > TBaseType
 
typedef TBaseType::TMutexType TMutexType
 
typedef TBaseType::TScopedLockType TScopedLockType
 
typedef TBaseType::TU8AllocatorType TU8AllocatorType
 
typedef TBaseType::TMemoryBufferType TMemoryBufferType
 
typedef TBaseType::TBufferClientArray TBufferClientArray
 
typedef PxHashMap< const char *, uint32_t, PxHash< const char * >, TU8AllocatorType > TCharPtrToHandleMap
 
- Public Types inherited from physx::profile::DataBuffer< TMutex, TScopedLock >
typedef TMutex TMutexType
 
typedef TScopedLock TScopedLockType
 
typedef PxProfileWrapperNamedAllocator TU8AllocatorType
 
typedef MemoryBuffer< TU8AllocatorType > TMemoryBufferType
 
typedef PxProfileArray< PxProfileEventBufferClient * > TBufferClientArray
 

Public Member Functions

 MemoryEventBuffer (PxAllocatorCallback &cback, uint32_t inBufferFullAmount, TMutexType *inBufferMutex)
 
uint32_t getHandle (const char *inData)
 
void onAllocation (size_t inSize, const char *inType, const char *inFile, uint32_t inLine, uint64_t addr)
 
void onDeallocation (uint64_t addr)
 
void flushProfileEvents ()
 
- Public Member Functions inherited from physx::profile::DataBuffer< TMutex, TScopedLock >
 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

template<typename TDataType >
void sendEvent (TDataType inType)
 
- Protected Member Functions inherited from physx::profile::DataBuffer< TMutex, TScopedLock >
virtual void clearCachedData ()
 

Protected Attributes

TCharPtrToHandleMap mStringTable
 
- Protected Attributes inherited from physx::profile::DataBuffer< TMutex, TScopedLock >
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: