|
Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
A Workload is a base class for describing a task that can be executed by a set of ComputeResources. More...
#include <Workload.h>
Inherited by gts::MicroScheduler_Workload.
Public Member Functions | |
| GTS_INLINE | Workload (WorkloadType::Enum type) |
| virtual | ~Workload ()=default |
| GTS_INLINE WorkloadType::Enum | type () const |
| GTS_INLINE Node * | myNode () const |
| virtual void | execute (WorkloadContext const &ctx)=0 |
Protected Attributes | |
| Node * | m_pMyNode |
| The Node this Workload is attached to. | |
| WorkloadType::Enum | m_type |
| The Workloads type. | |
Friends | |
| class | Node |
A Workload is a base class for describing a task that can be executed by a set of ComputeResources.
|
virtualdefault |
For polymorphic destruction.
|
pure virtual |
Executes the Workload in the given context.
Implemented in gts::MicroSchedulerLambda_Workload.
|
inline |
|
inline |