TalonLRUComponentManager Class

class ska_mid_cbf_mcs.talon_lru.talon_lru_component_manager.TalonLRUComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

A component manager for the TalonLRU device.

is_on_allowed() bool[source]

Check if On operation is allowed.

Returns:

True if allowed, False otherwise

on(task_callback: Callable | None = None) tuple[ska_control_model.result_code.ResultCode, str][source]

Submit on operation method to task executor queue.

Parameters:

task_callback – Callback function to update task status

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

Return type:

(ResultCode, str)

is_off_allowed() bool[source]

Check if Off operation is allowed.

Returns:

True if allowed, False otherwise

off(task_callback: Callable | None = None) tuple[ska_control_model.result_code.ResultCode, str][source]

Submit off operation method to task executor queue.

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

Return type:

(ResultCode, str)