TriggerKind

TriggerKind is defined in SysML specification on page 363. Excerpt from the machine readable specification:

TriggerKind enumerates the kinds of triggers that can be represented by a TriggerInvocationExpression.

The following diagram shows the inheritance hierarchy of TriggerKind according to the specification:

// Class: TriggerKind
 digraph {
     TriggerKind [label="TriggerKind (SysML)" shape=plaintext]
 }

The following table shows all attributes defined for TriggerKind according to the specification together with the documentation from the machine readable specification. Note that in SysIDE API, we use snake case for attribute names instead of Pascal case used in the specification.

Attribute

Documentation from machine readable specification

Attributes defined in TriggerKind:

After

Indicates a relative time trigger, corresponding to the TriggerAfter Function from the Triggers model in the Kernel Semantic Library.

At

Indicates an absolute time trigger, corresponding to the TriggerAt Function from the Triggers model in the Kernel Semantic Library.

When

Indicates a change trigger, corresponding to the TriggerWhen Function from the Triggers model in the Kernel Semantic Library.

The following table lists SysIDE specific attributes available for class TriggerKind:

Python Attribute

class TriggerKind(*args, **kwds)
When = 0
At = 1
After = 2
classmethod __signature__()
__new__(value)
__repr__()
__str__()
__dir__()
__format__(format_spec)
__hash__()
__reduce_ex__(proto)
__deepcopy__(memo)
__copy__()
name()
value()