MacroServer¶
The MacroServer tango module
Classes
MacroServer¶

-
class
MacroServer(cl, name)[source]¶ Bases:
sardana.tango.core.SardanaDevice.SardanaDeviceThe MacroServer tango class
-
ElementsCache= None¶
-
EnvironmentCache= None¶
-
init(name)[source]¶ initialize the device once in the object lifetime. Override when necessary but always call the method from your super class
:param
strname: device name
-
property
macro_server¶
-
delete_device()[source]¶ Clean the device. Called during shutdown and every time the tango
Initcommand is executed. Override when necessary but always call the method from your super class
-
init_device()[source]¶ Initialize the device. Called during startup after
init()and every time the tangoInitcommand is executed. Override when necessary but always call the method from your super class
-
always_executed_hook(self) → None[source]¶ Hook method. Default method to implement an action necessary on a device before any command is executed. This method can be redefined in sub-classes in case of the default behaviour does not fullfill the needs
Parameters : None Return : None
Throws : DevFailed This method does not throw exception but a redefined method can.
-
is_DoorList_allowed(req_type)¶
-
is_MacroList_allowed(req_type)¶
-
is_MacroLibList_allowed(req_type)¶
-
is_TypeList_allowed(req_type)¶
-
MacroServerClass¶

-
class
MacroServerClass(name)[source]¶ Bases:
sardana.tango.core.SardanaDevice.SardanaDeviceClassMacroServer Tango class class