Transition

class Transition

Abstract class that implements the skeleton of a transition.

Summary
TransitionAbstract class that implements the skeleton of a transition.
Functions
TransitionUnused constructor of abstract class.
~TransitionVirtual.
GetTypeReturns the type indicator of the class.
GetResultChartReturns the resulting chart of the transition.
AddTransitionAdds the transition as child transition.
StartStarts the transition and makes it processable.
UpdateVirtual.
CompleteVirtual.

Functions

Transition

Transition()

Unused constructor of abstract class.

~Transition

virtual ~Transition()

Virtual.  Releases all allocated resources.

GetType

int GetType()

Returns the type indicator of the class.

Returns

The type indicator of the class.

GetResultChart

Chart* GetResultChart()

Returns the resulting chart of the transition.

Returns

The resulting chart of the transition.

AddTransition

void AddTransition(Transition *pTransition)

Adds the transition as child transition.

Parameters

pTransitionThe transition to be added.

Start

void Start()

Starts the transition and makes it processable.

Update

virtual void Update() = 0

Virtual.  Updates the transition by executing itself ot its active child transitions.

Complete

virtual bool Complete() = 0

Virtual.  Checks if the transition and all of its child transitions are completed.

Returns

A boolean value indicating if the transition and all of its child transitions are completed.

class Transition
Abstract class that implements the skeleton of a transition.
Transition()
Unused constructor of abstract class.
virtual ~Transition()
Virtual.
int GetType()
Returns the type indicator of the class.
Chart* GetResultChart()
Returns the resulting chart of the transition.
void AddTransition(Transition *pTransition)
Adds the transition as child transition.
void Start()
Starts the transition and makes it processable.
virtual void Update() = 0
Virtual.
virtual bool Complete() = 0
Virtual.
Close