fastcs.controller#

Members

BaseController

Base class for controller.

Controller

Top-level controller for a device.

SubController

A subordinate to a Controller for managing a subset of a device.

class fastcs.controller.BaseController(path: list[str] | None = None, description: str | None = None)[source]#

Base class for controller.

attributes: dict[str, Attribute]#

Attributes passed from the device at runtime.

property path: list[str]#

Path prefix of attributes, recursively including parent Controllers.

class fastcs.controller.Controller(description: str | None = None)[source]#

Top-level controller for a device.

This is the primary class for implementing device support in FastCS. Instances of this class can be loaded into a backend to access its Attribute``s. The backend can then perform a specific function with the set of ``Attributes, such as generating a UI or creating parameters for a control system.

class fastcs.controller.SubController(description: str | None = None)[source]#

A subordinate to a Controller for managing a subset of a device.

An instance of this class can be registered with a parent Controller to include it as part of a larger device.