Component Manager
This module implements a functionality for component managers in MCCS.
- class MccsBaseComponentManager(*args, **kwargs)
The base component manager for MCCS.
- set_communication_state_callback(communication_state_callback)
Set the callback to be called when communication status changes.
- Parameters:
communication_state_callback (
Optional
[Callable
[[CommunicationStatus
],None
]]) – the callback to be called when status of communication with the component changes. If None, no callback will be called.- Return type:
- class MccsComponentManagerProtocol(*args, **kwargs)
Specification of the interface of an MCCS component manager (for type-checking).
Classes that provide this interface are considered to be an MCCS component manager even if they don’t inherit from MccsBaseComponentManager. (e.g. the SwitchingComponentManager implements a passthrough mechanism that makes it an MCCS component manager even though it doesn’t inherit from MccsBaseComponentManager).
- __init__(*args, **kwargs)
- property communication_state: CommunicationStatus
Return the status of communication with the component.
- off()
Turn off the component.
- Return type:
- on()
Turn on the component.
- Return type:
- reset()
Reset the component.
- Return type:
- standby()
Put the component into standby mode.
- Return type: