Skip to content

class SuperState_WithBusyFinal

Package: swiss.avm.up.core.generic.statemachine.javamodel.SuperState_WithBusyFinal

Direct Known Subclasses:


class SuperState_WithBusyFinal extends SuperState

A SuperState_WithBusyFinal is a SuperState for the common "commanded action runs, then settles" pattern. It provides an initial working sub-state where the action executes and a final sub-state reached when it is complete, so a parent can detect completion.

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

entryFunction

Function[0..N]

exitFunction

Function[0..N]

history

History[0..1]

Defines the history pseudostate of a SuperState: a Transition that targets it re-enters the sub-state that was active when the SuperState was last left. A SuperState has at most one, in history, and code can clear it with resetHistory.

junction

Junction[0..N]

A Junction is a choice pseudostate: a branch node with several guarded outgoing
transitions and no behaviour of its own. Its typical use is dispatching control
to different sub-groups based on the active command.

name

The name of this Resource.

StringLiteral[1..1]

port

BasePort[0..N]

Abstract base class of the ports of a SuperState or Statemachine (port property): InPort and OutPort. A port refers to one state (state) and is itself a TargetState.

simulationFunction

Functions that run only while the simulation flag of the controller is set: in every cycle of the active state, after its state functions and before its transitions are checked. They usually set the inputs that the hardware would deliver, so that the statemachine also works when the hardware is not connected. See the section Simulation of the statemachine help.

Function[0..N]

start

Start[0..1]

A Start is the initial pseudostate of a statemachine or of a SuperState. It
marks which state is entered when the enclosing machine or SuperState becomes
active.

stateDiagram

The state diagram is the graphical representation of the states.

DomainDiagram[0..N]

stateFunction

Function[0..N]

subState

StateBase[0..N]

transitionTo

Transition[0..N]

A Transition is an edge leaving a State or SuperState. It defines the target
state that control moves to when its guard condition becomes true.