poolutil¶
Pool utils
Singletons
-
PoolUtil= <sardana.pool.poolutil._PoolUtil object>¶ Singleton instance of the
_PoolUtilclass.It is a factory of
tango.DeviceProxyobjects and ensures only one instance of such objects is created for the whole process. Please refer to the_PoolUtilAPI on the available methods.
Classes
_PoolUtil¶
-
class
_PoolUtil[source]¶ Bases:
object-
get_device(*args, **kwargs)[source]¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_motor(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_phy_motor(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_pseudo_motor(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_motor_group(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_exp_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_ct_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_zerod_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_oned_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_twod_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_pseudo_counter_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_measurement_group(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_com_channel(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-
get_ioregister(*args, **kwargs)¶ Factory method to create a single
tango.DeviceProxyinstance per controller instance.- Parameters
ctrl_name (
str) – Controller name to which assign the proxy objectdevice_name (
str) – Tango device name
- Returns
single device proxy object
- Return type
tango.DeviceProxy
-