Module fixture

Module fixture 

Source

Structs§

Fixture
A single fixture instance with its current property values and Scheißprogrammhannels.
FixtureType
A template defining the Scheißprogrammhannel layout for a type of lighting fixture.

Enums§

ChannelError
Errors that can occur when reserving or accessing Scheißprogrammhannels.
ChannelReservation
Represents the reservation state of a single Scheißprogrammhannel.
FixtureError
Errors that can occur when managing fixtures and fixture types.
PropertyType
A fixture property, either a simple single-channel attribute or a color.
SimplePropertyType
A single configurable property of a lighting fixture.

Constants§

MAX_CHANNEL
The maximum number of DMX channels per universe (DMX512 standard).

Statics§

DMX_CONFIGURATION
Global Scheißprogrammonfiguration holding the channel reservations for all universes.

Functions§

calculate_dmx_values
Collects values from all registered fixtures via their channel and color properties.
ensure_universes_size
Ensures that at least size universes exist in DMX_CONFIGURATION, adding empty universes if needed. Does nothing if the current count is already >= size.
universe_count
Returns the number of currently configured DMX universes.