CompoundSequentialTransition

class CompoundSequentialTransition: public CompoundTransition

Implements a sequential ordering transition using a queue to process the added child transitions sequentially.  In contrast to the AtomicSequentialTransition, the compound sequential transition can also have compound transitions as child transitions.

Inherits from CompoundTransition.

Summary
CompoundSequentialTransitionImplements a sequential ordering transition using a queue to process the added child transitions sequentially.
Functions
CompoundSequentialTransitionInitializes the object.
~CompoundSequentialTransitionReleases all allocated resources.
UpdateUpdates the first transition of the queue.
DrawDraws the transition by drawing the active chart of the active transition.
CompleteChecks if all child transitions are completed.
GetActiveChartReturns the active chart of the transition.

Functions

CompoundSequentialTransition

CompoundSequentialTransition(Chart *pInitialChart)

Initializes the object.

Parameters

pInitialChartPointer to the chart to be modified.

~CompoundSequentialTransition

~CompoundSequentialTransition()

Releases all allocated resources.

Update

void Update()

Updates the first transition of the queue.  If the transition is completed, it is removed.  Inherited from Transition.

Draw

void Draw(QPainter *pPainter)

Draws the transition by drawing the active chart of the active transition.  Inherited from CompoundTransition.

Parameters

pPainterThe QPainter object that shall be used for painting.

Complete

bool Complete()

Checks if all child transitions are completed.  Inherited from Transition.

Returns

A boolean value indicating if all child transitions are completed.

GetActiveChart

Chart* GetActiveChart()

Returns the active chart of the transition.  This is the active chart of the active transition if present, else the initial chart.  Inherited from CompoundTransition.

Returns

Returns the active chart of the transition.

class CompoundSequentialTransition: public CompoundTransition
Implements a sequential ordering transition using a queue to process the added child transitions sequentially.
CompoundSequentialTransition(Chart *pInitialChart)
Initializes the object.
~CompoundSequentialTransition()
Releases all allocated resources.
void Update()
Updates the first transition of the queue.
void Draw(QPainter *pPainter)
Draws the transition by drawing the active chart of the active transition.
bool Complete()
Checks if all child transitions are completed.
Chart* GetActiveChart()
Returns the active chart of the transition.
class AtomicSequentialTransition: public Transition
Implements a sequential ordering transition using a queue to process the added child atomic transitions sequentially.
class CompoundTransition: public Transition
Abstract class that implements the skeleton of a compound transition, i.e.
class Transition
Abstract class that implements the skeleton of a transition.
Close