RavEngine
Loading...
Searching...
No Matches
physx::Cm::DelegateFanoutTask< T, Fn > Class Template Reference

Specialization of FanoutTask class in order to provide the delegation mechanism. More...

#include <CmTask.h>

Inheritance diagram for physx::Cm::DelegateFanoutTask< T, Fn >:
[legend]
Collaboration diagram for physx::Cm::DelegateFanoutTask< T, Fn >:
[legend]

Public Member Functions

 DelegateFanoutTask (PxU64 contextID, T *obj, const char *name)
 
virtual void runInternal ()
 
void setObject (T *obj)
 
- Public Member Functions inherited from physx::Cm::FanoutTask
 FanoutTask (PxU64 contextID, const char *name)
 
virtual const char * getName () const
 Return a user-provided task name for profiling purposes.
 
virtual void removeReference ()
 
virtual void addReference ()
 Increases reference count.
 
PX_INLINE PxI32 getReference () const
 Return the ref-count for this task.
 
PX_INLINE void setTaskManager (physx::PxTaskManager &tm)
 
PX_INLINE void addDependent (physx::PxBaseTask &dependent)
 
virtual void release ()
 
- Public Member Functions inherited from physx::Cm::BaseTask
virtual void run ()
 The user-implemented run method where the task's work should be performed.
 
- Public Member Functions inherited from physx::PxBaseTask
PX_FORCE_INLINE PxTaskManager * getTaskManager () const
 Return PxTaskManager to which this task was submitted.
 
PX_FORCE_INLINE void setContextId (PxU64 id)
 
PX_FORCE_INLINE PxU64 getContextId () const
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from physx::Cm::FanoutTask
volatile PxI32 mRefCount
 
const char * mName
 
PxInlineArray< physx::PxBaseTask *, 4 > mDependents
 
PxInlineArray< physx::PxBaseTask *, 4 > mReferencesToRemove
 
bool mNotifySubmission
 
PxMutex mMutex
 
- Protected Attributes inherited from physx::PxBaseTask
PxU64 mContextID
 Context ID for profiler interface.
 
PxTaskManager * mTm
 Owning PxTaskManager instance.
 

Detailed Description

template<class T, void(T::*)(physx::PxBaseTask *) Fn>
class physx::Cm::DelegateFanoutTask< T, Fn >

Specialization of FanoutTask class in order to provide the delegation mechanism.

Member Function Documentation

◆ runInternal()

template<class T , void(T::*)(physx::PxBaseTask *) Fn>
virtual void physx::Cm::DelegateFanoutTask< T, Fn >::runInternal ( )
inlinevirtual

Reimplemented from physx::Cm::FanoutTask.


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