Beatmup
Beatmup::TaskRouter Class Referenceabstract

Interface managing the execution of a sequence of tasks. More...

#include <custom_pipeline.h>

Inheritance diagram for Beatmup::TaskRouter:
Beatmup::CustomPipeline::Impl

Public Member Functions

virtual CustomPipeline::TaskHoldergetCurrentTask ()=0
 Returns currently pointed task. More...
 
virtual const CustomPipeline::TaskHoldergetCurrentTask () const =0
 
virtual void runTask ()=0
 Executes the pointed task. More...
 
virtual void goToNextTask ()=0
 Goes to the next task in the list. More...
 
virtual bool allTasksDone () const =0
 Returns true if all tasks are done. More...
 
virtual bool allTasksAborted () const =0
 Returns true if the current session is aborted. More...
 

Detailed Description

Interface managing the execution of a sequence of tasks.

Definition at line 134 of file custom_pipeline.h.

Member Function Documentation

◆ getCurrentTask() [1/2]

virtual CustomPipeline::TaskHolder& Beatmup::TaskRouter::getCurrentTask ( )
pure virtual

Returns currently pointed task.

Implemented in Beatmup::CustomPipeline::Impl.

◆ getCurrentTask() [2/2]

virtual const CustomPipeline::TaskHolder& Beatmup::TaskRouter::getCurrentTask ( ) const
pure virtual

◆ runTask()

virtual void Beatmup::TaskRouter::runTask ( )
pure virtual

Executes the pointed task.

Implemented in Beatmup::CustomPipeline::Impl.

◆ goToNextTask()

virtual void Beatmup::TaskRouter::goToNextTask ( )
pure virtual

Goes to the next task in the list.

Implemented in Beatmup::CustomPipeline::Impl.

◆ allTasksDone()

virtual bool Beatmup::TaskRouter::allTasksDone ( ) const
pure virtual

Returns true if all tasks are done.

Implemented in Beatmup::CustomPipeline::Impl.

◆ allTasksAborted()

virtual bool Beatmup::TaskRouter::allTasksAborted ( ) const
pure virtual

Returns true if the current session is aborted.

Implemented in Beatmup::CustomPipeline::Impl.


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