Difference between revisions of "Core.Actions.TerminateLanes"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''TerminateLanes'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | TerminateLanes | To explicitly stop of a parallel activity | [[End Node]] | [[Core|OTX Core library]] | [[End node related actions]] | - | [[CoreChk022|Core_Chk022]]}}
+
{{ClassificationActivity | TerminateLanes | To explicitly stop of a parallel activity | [[End Node]] | [[Core|OTX Core library]] | [[End node related actions]] | - | [[Core.Validation.CoreChk022|Core_Chk022]]}}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
With the OTX '''TerminateLanes''' activity, a parallel activity can be terminated explicitly and directly. For further description see [[Parallel]] activity.
+
With the OTX '''TerminateLanes''' activity, a parallel activity can be terminated explicitly and directly. For further description see [[Core.Actions.Parallel|Parallel]] activity.
  
 
== OTL Examples ==
 
== OTL Examples ==
Line 44: Line 44:
  
 
== See also ==
 
== See also ==
[[Return]] <br/>
+
[[Core.Actions.Return|Return]] <br/>
[[Continue]] <br/>
+
[[Core.Actions.Continue|Continue]] <br/>
[[Break]] <br/>
+
[[Core.Actions.Break|Break]] <br/>
[[Throw]]
+
[[Core.Actions.Throw|Throw]]

Revision as of 10:58, 4 February 2016

Classification

Name TerminateLanes
Short Description To explicitly stop of a parallel activity
Class End Node
Extension OTX Core library
Group End node related actions
Exceptions -
Checker Rules Core_Chk022
Standard Compliant Yes

OTL Syntax

terminate;

Description

With the OTX TerminateLanes activity, a parallel activity can be terminated explicitly and directly. For further description see Parallel activity.

OTL Examples

Integer intVar1 = 0;
Integer intVar2 = 0;
String stringVar1 = "";

parallel
{
   lane
   {
	intVar1 = 1;
	intVar1 = 2;
	intVar1 = 3;
	intVar1 = 4;
	intVar1 = 5;
	intVar1 = 6;
	intVar1 = 7;
	intVar1 = 8;
	intVar1 = 9;
	intVar1 = 10;
	stringVar1 = "I may not happen because of the TerminateLanes";
   }
   lane
   {
	intVar2 = 1;
	intVar2 = 2;

	terminate;
   }
}

See also

Return
Continue
Break
Throw