Beatmup Java package
Beatmup.Task Class Reference

Abstract task. More...

Inheritance diagram for Beatmup.Task:
Beatmup.Object Beatmup.Audio.Playback Beatmup.Audio.SignalPlot Beatmup.Imaging.BinaryOperation Beatmup.Imaging.FloodFill Beatmup.Imaging.Resampler Beatmup.NNets.InferenceTask Beatmup.Pipelining.CustomPipeline Beatmup.Rendering.SceneRenderer Beatmup.Shading.ShaderApplicator Beatmup.Utils.Callback

Public Member Functions

Context getContext ()
 
float execute () throws CoreException
 Runs the task. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Beatmup.Object
synchronized void dispose ()
 Destroys the native object. More...
 
- Protected Attributes inherited from Beatmup.Object
long handle
 pointer to the native object More...
 

Detailed Description

Abstract task.

Definition at line 26 of file Task.java.

Member Function Documentation

◆ getContext()

Context Beatmup.Task.getContext ( )
inline
Returns
a Beatmup Context instance the task is associated with.

Definition at line 37 of file Task.java.

37  {
38  return context;
39  }

◆ execute()

float Beatmup.Task.execute ( ) throws CoreException
inline

Runs the task.

Returns
execution time in ms

Definition at line 45 of file Task.java.

45  {
46  return context.performTask(this);
47  }

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