Extensions.DiagCom.DiagServiceEventSource

From emotive
Revision as of 04:08, 18 July 2014 by Nb (talk | contribs) (→‎Properties)
Jump to navigation Jump to search

Classification

Name DiagServiceEventSource
Short Description Binds a diagnosis service to an event handling source
Class Term
Extension OTX DiagCom extension
Group Event related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

EventSource DiagServiceEventSource(DiagService diagService);

Description

The DiagServiceEventSource term binds the given diagnosis service to an event handling source, see Event Library.

The functionality of the DiagServiceEventSource term is the counterpart of the asynchronous mode in the ExecuteDiagService activity. Every time a new result is received from the control unit, an event is triggered.

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 Source for event handling

Properties

Name Data Type Class Default Cardinality Description
DiagService DiagService Term - [1] Represents the DiagService that shall be connected to the event source.

Examples

EventSource result = DiagServiceEventSource(diagService);

See also

GetDiagServiceFromEvent
IsDiagServiceEvent