ska_tmc_cspsubarrayleafnode.manager package
Submodules
ska_tmc_cspsubarrayleafnode.manager.component_manager module
Component Manager class for CSP Subarray Leaf Node
- class ska_tmc_cspsubarrayleafnode.manager.component_manager.CspSLNComponentManager(*args: Any, **kwargs: Any)
Bases:
ska_tmc_common.tmc_component_manager.ska_tmc_common.tmc_component_manager.TmcLeafNodeComponentManager._name
A component manager for The CSP Subarray Leaf Node component.
It supports:
Monitoring its component, e.g. detect that it has been turned off or on
- get_device()
Return the device info our of the monitoring loop with name dev_name
- Parameters
None –
- Returns
a device info
- Return type
SubArrayDeviceInfo
- stop()
- update_device_info(csp_subarray_dev_name)
Updates the device info
- update_device_obs_state(obs_state)
Update a monitored device obs state, and call the relative callbacks if available
- Parameters
dev_name (str) – name of the device
obs_state (ObsState) – obs state of the device
- update_event_failure()
ska_tmc_cspsubarrayleafnode.manager.event_receiver module
Event Reciever for Csp Subarray Leaf Node
- class ska_tmc_cspsubarrayleafnode.manager.event_receiver.CspSLNEventReceiver(*args: Any, **kwargs: Any)
Bases:
ska_tmc_common.event_receiver.ska_tmc_common.event_receiver.EventReceiver._name
The CspSLNEventReceiver class has the responsibility to receive events from the CSP Subarray managed by the Csp Subarray Leaf Node.
The ComponentManager uses the handle events methods for the attribute of interest. For each of them a callback is defined.
- handle_obs_state_event(evt)
- run()
- subscribe_events(dev_info)
Module contents
Init file for Csp Subarray Leaf Node Manager
- class ska_tmc_cspsubarrayleafnode.manager.CspSLNComponentManager(*args: Any, **kwargs: Any)
Bases:
ska_tmc_common.tmc_component_manager.ska_tmc_common.tmc_component_manager.TmcLeafNodeComponentManager._name
A component manager for The CSP Subarray Leaf Node component.
It supports:
Monitoring its component, e.g. detect that it has been turned off or on
- get_device()
Return the device info our of the monitoring loop with name dev_name
- Parameters
None –
- Returns
a device info
- Return type
SubArrayDeviceInfo
- stop()
- update_device_info(csp_subarray_dev_name)
Updates the device info
- update_device_obs_state(obs_state)
Update a monitored device obs state, and call the relative callbacks if available
- Parameters
dev_name (str) – name of the device
obs_state (ObsState) – obs state of the device
- update_event_failure()
- class ska_tmc_cspsubarrayleafnode.manager.CspSLNEventReceiver(*args: Any, **kwargs: Any)
Bases:
ska_tmc_common.event_receiver.ska_tmc_common.event_receiver.EventReceiver._name
The CspSLNEventReceiver class has the responsibility to receive events from the CSP Subarray managed by the Csp Subarray Leaf Node.
The ComponentManager uses the handle events methods for the attribute of interest. For each of them a callback is defined.
- handle_obs_state_event(evt)
- run()
- subscribe_events(dev_info)