Extensions.EventHandling.WaitForEvent

From emotive
Revision as of 06:55, 31 July 2014 by Nb (talk | contribs) (Created page with "Category:EventHandling == Classification == {{ClassificationActivity | WaitForEvent | Wait until an event is triggered and then continues processing | Action| DiagCo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name WaitForEvent
Short Description Wait until an event is triggered and then continues processing
Class Action
Extension OTX DiagCom extension
Group EventHandling related actions
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

WaitForEvent(EventSource source);

Description

The OTX WaitForEvent activity blocks the current flow (thread) until a specified event sources has triggered an event. When an event is triggered, completed the WaitForEvent activity and the process continues with the next activity. The event that led to the termination of the activity can be evaluated using the Event property, see below.

Ending the waitforevent activity, all on-the-fly (ie on the corresponding event source term, see Property Source) event sources generated automatically.

Properties

Name Data Type Class Default Cardinality Description
Event Event Variable - [0..1] After an event is triggered, this variable contains the corresponding event.
EventSource EventSource Term - [1] One or more event sources. The order is insignificant. Once a source triggering an event, the waiting is ended.

Examples

WaitForEvent(eventSource);

See also

CloseEventSource