Extensions.EventHandling.MonitorChangeEventSource

From emotive
Revision as of 07:06, 31 July 2014 by Nb (talk | contribs) (Created page with "Category:EventHandling == Classification == {{ClassificationActivity | MonitorChangeEventSource | Create an event source for change event | Term | EventHandling|OTX...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name MonitorChangeEventSource
Short Description Create an event source for change event
Class Term
Extension OTX EventHandling extension
Group Event source related terms
Exceptions -
Checker Rules Event_Chk002
Standard Compliant Yes

Pseudo-Code Syntax

EventSource MonitorChangeEventSource(Variable myVariable);

Description

The OTX MonitorChangeEventSource term creates an event source that monitors the value of a variable and an event triggers when the value changed. Event queue should start immediately as soon as the event source is created.

Icons Note.png The case when a value to a previously uninitialized variable is assigned to count as a change event and make no mistake.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
EventSource The EventSource, the changes in the value of a variable monitored.

Properties

Name Data Type Class Default Cardinality Description
Variable - Variable - [1] The variable which has to be monitored.

Examples

EventSource result = MonitorChangeEventSource(myVariable);

See also

ThresholdExceededEventSource
TimerExpiredEventSource