RavEngine
Loading...
Searching...
No Matches
physx::Cm::BaseTask Class Referenceabstract
Inheritance diagram for physx::Cm::BaseTask:
[legend]
Collaboration diagram for physx::Cm::BaseTask:
[legend]

Public Member Functions

virtual void run ()
 The user-implemented run method where the task's work should be performed.
 
virtual void runInternal ()=0
 
- Public Member Functions inherited from physx::PxBaseTask
virtual const char * getName () const =0
 Return a user-provided task name for profiling purposes.
 
virtual void addReference ()=0
 Implemented by derived implementation classes.
 
virtual void removeReference ()=0
 Implemented by derived implementation classes.
 
virtual int32_t getReference () const =0
 Implemented by derived implementation classes.
 
virtual void release ()=0
 Implemented by derived implementation classes.
 
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
 

Additional Inherited Members

- Protected Attributes inherited from physx::PxBaseTask
PxU64 mContextID
 Context ID for profiler interface.
 
PxTaskManager * mTm
 Owning PxTaskManager instance.
 

Member Function Documentation

◆ run()

virtual void physx::Cm::BaseTask::run ( )
inlinevirtual

The user-implemented run method where the task's work should be performed.

run() methods must be thread safe, stack friendly (no alloca, etc), and must never block.

Implements physx::PxBaseTask.


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