Future Heritable Admin Mode Mixin

A device with an heritable admin mode.

class ska_tango_base.future._heritable_admin_mode.InheritType[source]

Bases: object

Type of the Inherit marker object.

ska_tango_base.future._heritable_admin_mode.Inherit = <ska_tango_base.future._heritable_admin_mode.InheritType object>

The inherit marker object.

class ska_tango_base.future._heritable_admin_mode.HeritableAdminModeMixin[source]

Bases: CallbackSchedulerMixin, BaseInterface

ParentTRL

Tango resource locator of parent.

If not set, or an empty string, the device is considered to not have a parent and adminMode inheritance is not possible.

ParentConnectionTimeout

Seconds until lack of contact from parent results in an alarm.

init_device() None[source]

Initialise device.

on_new_shared_bus() None[source]

Create adminMode inheritor.

device_exported_hook() None[source]

Connect to parent.

parentTRL

TANGO property

parentConnectionTimeout

TANGO property

parentConnectionStatus

Attribute reporting the connection status to the parent.

adminMode: attribute_from_signal

Overridden admin mode attribute with additional INHERIT set point.

inheritAdminMode

True if the device’s adminMode is being inherited

write_adminMode(setpoint: AdminMode | InheritType) None[source]

Set the Admin Mode of the device.

Parameters:

setpoint – The value to set it to

Raises:

tango.DevFailed – When trying to set INHERIT with no ParentTRL