fastcs_pandablocks.panda.handlers
#
Members
A sender for arming and disarming the Pcap. |
|
Bits are tied together in bit groups so that when one is set for capture, they all are. |
|
A handler for capture attributes. |
|
Default handler for sending and updating introspected attributes. |
|
Default sender for sending introspected attributes. |
|
Default updater for updating introspected attributes. |
|
A handler for updating Table valued attributes. |
|
Converts from an attribute value to a value that can be sent to the panda with pandablocks-client. |
|
Converts from a value received from the panda through pandablock-client to the attribute value. |
- fastcs_pandablocks.panda.handlers.panda_value_to_attribute_value(fastcs_datatype: DataType[T], value: str) T [source]#
Converts from a value received from the panda through pandablock-client to the attribute value.
- fastcs_pandablocks.panda.handlers.attribute_value_to_panda_value(fastcs_datatype: DataType[T], value: T) str [source]#
Converts from an attribute value to a value that can be sent to the panda with pandablocks-client.
- class fastcs_pandablocks.panda.handlers.DefaultFieldSender(panda_name: PandaName, put_value_to_panda: Callable[[PandaName, DataType, Any], Coroutine[None, None, None]])[source]#
Default sender for sending introspected attributes.
- class fastcs_pandablocks.panda.handlers.DefaultFieldUpdater(panda_name: PandaName)[source]#
Default updater for updating introspected attributes.
- class fastcs_pandablocks.panda.handlers.DefaultFieldHandler(panda_name: PandaName, put_value_to_panda: Callable[[PandaName, DataType, Any], Coroutine[None, None, None]])[source]#
Default handler for sending and updating introspected attributes.
- class fastcs_pandablocks.panda.handlers.TableFieldHandler(panda_name: PandaName)[source]#
A handler for updating Table valued attributes.
- class fastcs_pandablocks.panda.handlers.CaptureHandler(panda_name: PandaName, put_value_to_panda: Callable[[PandaName, DataType, Any], Coroutine[None, None, None]])[source]#
A handler for capture attributes. Not currently used.
- class fastcs_pandablocks.panda.handlers.BitGroupOnUpdate(capture_attribute: AttrRW[Enum], bit_attributes: list[AttrRW[bool]])[source]#
Bits are tied together in bit groups so that when one is set for capture, they all are.
This handler sets all capture attributes in the group when one of them is set.