pogona.InitStages

class pogona.InitStages(value)[source]

Bases: enum.Enum

Initialization stages for ensuring that Component instances are initialized in the right order.

InitStages are executed in increasing order of their respective value (i.e., in the order as listed in the source file, not as listed in the documentation).

Attributes

CHECK_ARGUMENTS

Check validity of arguments.

BUILD_SCENE

CREATE_FOLDERS

CREATE_FILES

CREATE_DATA_STRUCTURES

CREATE_TELEPORTERS

REGISTER_SENSORS

CREATE_SENSOR_SUBSCRIPTIONS

SET_UP_FLOW_SYSTEM

START_SIMULATION

__init__()
BUILD_SCENE = 2
CHECK_ARGUMENTS = 1

Check validity of arguments.

CREATE_DATA_STRUCTURES = 5
CREATE_FILES = 4
CREATE_FOLDERS = 3
CREATE_SENSOR_SUBSCRIPTIONS = 8
CREATE_TELEPORTERS = 6
REGISTER_SENSORS = 7
SET_UP_FLOW_SYSTEM = 9
START_SIMULATION = 10