A DecisionNode represents a hub where the conversation can go in one of two ways.
More...
#include <DecisionNode.h>
List of all members.
Detailed Description
A DecisionNode represents a hub where the conversation can go in one of two ways.
Member Enumeration Documentation
- Enumerator:
ConnectionsFalse |
Index for the 'false' connection.
|
ConnectionsTrue |
Index for the 'true' connection.
|
- Enumerator:
EventsOnEnter |
Event to fire when the decision starts.
|
EventsOnExit |
Event to fire when the decision exits.
|
EventsOnTrue |
Event to fire when conditions is evaluated to true.
|
EventsOnFalse |
Event to fire when conditions is evaluated to false.
|
- Enumerator:
VariablesLeft |
Index fot the 'left' variable.
|
VariablesRight |
Index for the 'right' variable.
|
VariablesCount |
Number of total variables.
|
Constructor & Destructor Documentation
LibCT::DecisionNode::DecisionNode |
( |
Node * |
pParent, |
|
|
const std::string & |
text |
|
) |
| [explicit] |
LibCT::DecisionNode::~DecisionNode |
( |
| ) |
|
Member Function Documentation
Node* LibCT::DecisionNode::GetNext |
( |
| ) |
[virtual] |
Get active connection
- Returns:
- The node this one is actively connected to
Reimplemented from LibCT::Node.
Get the operator
- Returns:
- The operator
Get a variable
- Returns:
- The corresponding variable from the m_pVariables array
- Parameters:
-
index | Index of the m_pVariables array to get |
bool LibCT::DecisionNode::SerialiseImpl |
( |
OutputStream * |
pOutput | ) |
[virtual] |
Implementation of serialisation
- Returns:
- True if successful
Reimplemented from LibCT::Node.
bool LibCT::DecisionNode::SerialiseImpl |
( |
InputStream * |
pInput | ) |
[virtual] |
Implementation of serialisation
- Returns:
- True if successful
Reimplemented from LibCT::Node.
Set the operator.
- Parameters:
-
Set a variable.
- Parameters:
-
pVar | Variable to set |
index | Index of the m_pVariables array to set |
Member Data Documentation
The documentation for this class was generated from the following file: