Reference Module

class automationshield.controller.reference.Reference(ref)[source]

Bases: object

Reference class. Base for ConstantReference, PresetReference and CallbackReference. The class implements __call__() to provide the next reference.

class automationshield.controller.reference.ConstantReference(ref)[source]

Bases: Reference

Reference class for constant reference. Provide a reference value to the constructor. Any call to __call__() returns the reference.

class automationshield.controller.reference.PresetReference(ref)[source]

Bases: Reference

Reference class for preset reference. Provide a sequence-like reference to the constructor. Every subsequent call to __call__() will return the next value in the sequence, starting at index 0.