Table of Contents

StateMachineListenerState

Namespace
ZAux

Defines all possible action states indicating when a listener can be called within a state machine. These action states help manage the timing of listener invocations relative to the state sequence execution.

Fields

Undefined = 0
PreActive = 1

The listener is called before the actual state sequence of the state machine is executed. A (listener) sequence, which is called with PreActive, has to, eventually, get not busy by calling SetBusy(FALSE).

Active = 2

The listener is called during the actual state sequence of the state machine is executed. This listener state is meant for monitoring of the actual statemachine sequence. It is optional set set the (listener) sequence to not busy.

PostActive = 3

The listener is called after the actual state sequence of the state machine is executed. A (listener) sequence, which is called with PreActive, has to, eventually, get not busy by calling SetBusy(FALSE).

PreError = 4

The listener is called due to an error occurring either in the state sequence or in the listener sequence. This invocation happens only twice (started and stopped), immediatally followed by the actual error reaction, configured in the statemachine