RavEngine
Loading...
Searching...
No Matches
physx::SnippetUtils::Thread Struct Reference
Inheritance diagram for physx::SnippetUtils::Thread:
[legend]
Collaboration diagram for physx::SnippetUtils::Thread:
[legend]

Public Member Functions

 Thread (ThreadEntryPoint entryPoint, void *data)
 
virtual void execute (void)
 
- Public Member Functions inherited from physx::PxThreadT< UtilAllocator >
 PxThreadT (const UtilAllocator &alloc=UtilAllocator())
 
 PxThreadT (PxThreadImpl::ExecuteFn fn, void *arg, const char *name, const UtilAllocator &alloc=UtilAllocator())
 
virtual ~PxThreadT ()
 
void start (PxU32 stackSize=PxThreadImpl::getDefaultStackSize())
 
void kill ()
 
void signalQuit ()
 
bool waitForQuit ()
 
bool quitIsSignalled ()
 
void quit ()
 
PxU32 setAffinityMask (PxU32 mask)
 
void setPriority (PxThreadPriority::Enum prio)
 
void setName (const char *name)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Public Attributes

ThreadEntryPoint mEntryPoint
 
void * mData
 

Additional Inherited Members

- Public Types inherited from physx::PxThreadT< UtilAllocator >
typedef PxThreadImpl::Id Id
 
- Static Public Member Functions inherited from physx::PxThreadT< UtilAllocator >
static PxThreadPriority::Enum getPriority (PxThreadImpl::Id threadId)
 
static void sleep (PxU32 ms)
 
static void yield ()
 
static void yieldProcesor ()
 
static PxU32 getDefaultStackSize ()
 
static PxThreadImpl::Id getId ()
 
static PxU32 getNbPhysicalCores ()
 

Member Function Documentation

◆ execute()

virtual void physx::SnippetUtils::Thread::execute ( void  )
inlinevirtual

The virtual execute() method is the user defined function that will run in the new thread. Called in the context of the spawned thread.

Reimplemented from physx::PxThreadT< UtilAllocator >.


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