pyTooling.StateMachine

This packages provides a data structure to describe statemachines.

Hint

See high-level help for explanations and usage examples.

Classes

  • Base: Undocumented.

  • Transition: Represents a transition (edge) in a statemachine diagram (directed graph).

  • State: Represents a state (node/vertex) in a statemachine diagram (directed graph).

  • StateMachine: Represents a statemachine (graph) in a statemachine diagram (directed graph).


Classes

class pyTooling.StateMachine.Base[source]

Inheritance

Inheritance diagram of Base

class pyTooling.StateMachine.Transition[source]

Represents a transition (edge) in a statemachine diagram (directed graph).

Inheritance

Inheritance diagram of Transition

__init__(source, destination)[source]
Parameters:
Return type:

None

class pyTooling.StateMachine.State[source]

Represents a state (node/vertex) in a statemachine diagram (directed graph).

Inheritance

Inheritance diagram of State

__init__()[source]
Return type:

None

class pyTooling.StateMachine.StateMachine[source]

Represents a statemachine (graph) in a statemachine diagram (directed graph).

Inheritance

Inheritance diagram of StateMachine

__init__(initialState)[source]
Parameters:

initialState (State)

Return type:

None