AsyncTaskSequence

class AsyncTaskSequence

Bases: AsyncTask, AsyncTaskCollection

A special kind of task that serves as a list of tasks internally. Each task on the list is executed in sequence, one per epoch.

This is similar to a Sequence interval, though it has some slightly different abilities. For instance, although you can’t start at any arbitrary point in the sequence, you can construct a task sequence whose duration changes during playback.

Inheritance diagram

digraph inheritance8c16344f54 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AsyncFuture" [URL="acron.core.AsyncFuture.html#acron.core.AsyncFuture",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "AsyncFuture" [arrowsize=0.75,style=""]; "AsyncTask" [URL="acron.core.AsyncTask.html#acron.core.AsyncTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AsyncFuture" -> "AsyncTask" [arrowsize=0.75,style=""]; "Namable" -> "AsyncTask" [arrowsize=0.75,style=""]; "AsyncTaskCollection" [URL="acron.core.AsyncTaskCollection.html#acron.core.AsyncTaskCollection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "AsyncTaskCollection" [arrowsize=0.75,style=""]; "AsyncTaskSequence" [URL="acron.core.AsyncTaskSequence.html#acron.core.AsyncTaskSequence",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AsyncTask" -> "AsyncTaskSequence" [arrowsize=0.75,style=""]; "AsyncTaskCollection" -> "AsyncTaskSequence" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }
AsyncTaskSequence.__init__()
static AsyncTaskSequence.get_class_type()
AsyncTaskSequence.get_current_task_index()

Returns the index of the task within the sequence that is currently being executed (or that will be executed at the next epoch).

AsyncTaskSequence.get_repeat_count()

Returns the repeat count of the sequence. See set_repeat_count().

static AsyncTaskSequence.operator_delete()
static AsyncTaskSequence.operator_delete()
static AsyncTaskSequence.operator_new()
static AsyncTaskSequence.operator_new()
AsyncTaskSequence.set_repeat_count()

Sets the repeat count of the sequence. If the count is 0 or 1, the sequence will run exactly once. If it is greater than 0, it will run that number of times. If it is negative, it will run forever until it is explicitly removed.

static AsyncTaskSequence.validate_ptr()