fastcs.attributes
#
Members
Protocol for updating the cached readback value of an |
|
Protocol encapsulating both |
|
Protocol for setting the value of an |
|
Access mode of an |
|
A read-only |
|
A read-write |
|
A write-only |
|
Base FastCS attribute. |
|
Special value to indicate that an attribute should be updated once on start up. |
|
Handler for internal parameters |
- fastcs.attributes.ONCE = inf#
Special value to indicate that an attribute should be updated once on start up.
- class fastcs.attributes.AttrHandlerR[source]#
Protocol for updating the cached readback value of an
Attribute
.
- class fastcs.attributes.AttrHandlerRW[source]#
Protocol encapsulating both
AttrHandlerR
andAttHandlerW
.
- class fastcs.attributes.Attribute(datatype: DataType[T], access_mode: AttrMode, group: str | None = None, handler: Any = None, description: str | None = None)[source]#
Base FastCS attribute.
Instances of this class added to a
Controller
will be used by the backend.
- class fastcs.attributes.AttrR(datatype: DataType[T], access_mode=AttrMode.READ, group: str | None = None, handler: AttrHandlerR | None = None, initial_value: T | None = None, description: str | None = None)[source]#
A read-only
Attribute
.