Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.52 KB

File metadata and controls

50 lines (35 loc) · 1.52 KB

Abstract Interface

CurrentModule = ModiaResult

This chapter documents the abstract interface to access a result data structure.

Functions Description
SignalType Predefined enumeration defining the supported signal types.
rawSignal Return raw signal data given the signal name (required).
signalNames Return all signal names (required).
timeSignalName Return the name of the time signal (required).
hasOneTimeSignal Return true if one time signal present (required).
getSignalDetails Return details of signal data (optional).
hasSignal Return true if signal name is known (optional).
defaultHeading Return default heading as string (optional).

Predefined enumeration

SignalType

Required functions

The following functions must be defined for a new result data structure.

rawSignal
signalNames
timeSignalName
hasOneTimeSignal

Optional functions

The following functions can be defined for a new result data structure. If they are not defined, a default implementation is used.

getSignalDetails
hasSignal
defaultHeading