DialogEngine CATCustomizableTransition
Usage: you must use this class as is. You should never derive it.
public class CATCustomizableTransition
Class representing a specialized transition.
Role: A specialized transition is a reusable transition which may be
associated with generic action and condition and on which specific action
and condition may be added as usual.
Such transitions are used to program a state which is a state dedicated to manage a dialog.
Only these transitions linked to a
are usable in L1 CAA2 exposition.
So, as a command developer, you don't need to instantiate such transitions.
Constructor and Destructor Index
- o
~CATCustomizableTransition()
-
Method Index
- o
SetAction(CATDiaAction*)
- Sets or adds a transition action.
- o
SetCondition(CATStateCondition*)
- Sets or adds a transition condition.
- o
SetCustomizableAction(CATDiaAction*)
- Sets the default transition action.
- o
SetCustomizableCondition(CATStateCondition*)
- Sets the default transition condition.
Constructor and Destructor
o ~CATCustomizableTransition
public virtual ~CATCustomizableTransition( | ) |
-
Methods
o SetAction
public virtual SetAction( | | ) |
-
Sets or adds a transition action.
Role: This action is executed when the transition fires.
If a default action has been set by a call to SetCustomizableAction,
both actions will be executed when the transition fires, this action first.
- Parameters:
-
- iAction
- The action.
Cyclic reference: A copy of iAction is kept and
AddRef'ed. It is Released at the end of the command before the command
destructor call.
see CATDialogTransition
o SetCondition
public virtual SetCondition( | | ) |
-
Sets or adds a transition condition.
Role: This condition must evaluate TRUE to make the transition
fire.
If a default condition has been set by a call to SetCustomizableCondition,
both conditions will be evaluated to make the transition fire, this condition first.
- Parameters:
-
- iCond
- The condition.
Cyclic reference: A copy of iCond is kept and
AddRef'ed. It is Released at the end of the command before the command
destructor call.
see CATDialogTransition
o SetCustomizableAction
public virtual SetCustomizableAction( | | ) |
-
Sets the default transition action.
Role: This action is executed when the transition fires.
A customizable transition can have only one default action, so successive calls to
SetCustomizableAction for the same transition successively overwrite the
default action.
- Parameters:
-
- iAction
- The action.
Cyclic reference: A copy of iAction is kept and
AddRef'ed. It is Released at the end of the command before the command
destructor call.
see CATDialogTransition
o SetCustomizableCondition
public virtual SetCustomizableCondition( | | ) |
-
Sets the default transition condition.
Role: This condition must evaluate TRUE to make the transition
fire.
A customizable transition can have only one default condition, so successive calls to
SetCustomizableCondition for the same transition successively overwrite the
default condition.
- Parameters:
-
- iCond
- The condition.
Cyclic reference: A copy of iCond is kept and
AddRef'ed. It is Released at the end of the command before the command
destructor call.
see CATDialogTransition
This object is included in the file: CATCustomizableTransition.h
If needed, your Imakefile.mk should include the module: CATDialogEngine
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.