27#ifndef PX_CPU_DISPATCHER_H
28#define PX_CPU_DISPATCHER_H
30#include "foundation/PxSimpleTypes.h"
Base class of all task types.
Definition PxTask.h:45
A CpuDispatcher is responsible for scheduling the execution of tasks passed to it by the SDK.
Definition PxCpuDispatcher.h:50
virtual void submitTask(PxBaseTask &task)=0
Called by the TaskManager when a task is to be queued for execution.
virtual uint32_t getWorkerCount() const =0
Returns the number of available worker threads for this dispatcher.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39