The main tau module. It contains a reduced set of wrappers around the real tau model classes and information regarding the current release.
Modules
Classes
Returns the one and only TauManager
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
| Returns: | the TauManager |
|---|---|
| Return type: | tau.core.TauManager |
See also
Returns the one and only Factory for the given scheme
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory(scheme)
| Parameter: | scheme (str) – a string representing the scheme. Default value is None meaning tango scheme |
|---|---|
| Returns: | a tau factory |
| Return type: | tau.core.TauFactory |
Returns the tau device for the given device name
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
device = factory.getDevice(device_name)
| Parameter: | device_name (str) – the device name |
|---|---|
| Returns: | a tau device |
| Return type: | tau.core.TauDevice |
Returns the tau database
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
db = factory.getDatabase(db_name)
| Parameter: | db_name (str or None) – database name. If None (default) it will use the TANGO_HOST value |
|---|---|
| Returns: | a tau database |
| Return type: | tau.core.TauDatabase |
Returns the tau attribute for either the pair (device name, attribute name) or full attribute name
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
attribute = factory.getAttribute(full_attribute_name)
or:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
device = factory.getDevice(device_name)
attribute = device.getAttribute(attribute_name)
| Parameters: |
|
|---|---|
| Returns: | a tau attribute |
| Return type: |
Returns the tau configuration for either the pair (attribute name, conf name) or full conf name
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
conf = factory.getConfiguration(attr_or_conf_name)
or:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
attribute = factory.getAttribute(attribute_name)
conf = attribute.getConfig(conf_name)
| Parameters: |
|
|---|---|
| Returns: | a tau configuration |
| Return type: |
Returns an tau object of given class for the given name
It is a shortcut to:
import tau.core
manager = tau.core.TauManager()
factory = manager.getFactory()
obj = factory.getObject(klass, name)
| Parameters: |
|
|---|---|
| Returns: | a tau object |
| Return type: |
Functions