Bases: taurus.core.util.singleton.Singleton, taurus.core.taurusfactory.TaurusFactory, taurus.core.util.log.Logger
A Singleton class that provides Evaluation related objects.
Activates the polling (client side) for the given attribute with the given period (seconds).
Parameters: |
|
---|
Operation models are always OperationAttributes
Obtain the object corresponding to the given attribute name. If the corresponding attribute already exists, the existing instance is returned. Otherwise a new instance is stored and returned. The evaluator device associated to this attribute will also be created if necessary.
Parameters: | attr_name (:class:~`str`) – the attribute name string. See taurus.core.evaluation for valid attribute names |
---|---|
Return type: | :class:~`EvaluationAttribute` |
Returns: |
@throws TaurusException if the given name is invalid.
Obtain the object corresponding to the given attribute or full name. If the corresponding configuration already exists, the existing instance is returned. Otherwise a new instance is stored and returned.
@param[in] param taurus.core.taurusattribute.TaurusAttribute object or full configuration name
@return a taurus.core.taurusattribute.TaurusAttribute object @throws TaurusException if the given name is invalid.
Obtain the EvaluationDatabase object.
Parameters: | db_name (:class:~`str`) – this is ignored because only one database is supported |
---|---|
Return type: | :class:~`EvaluationDatabase` |
Returns: |
Obtain the object corresponding to the given device name. If the corresponding device already exists, the existing instance is returned. Otherwise a new instance is stored and returned.
Parameters: | dev_name (:class:~`str`) – the device name string. See taurus.core.evaluation for valid device names |
---|---|
Return type: | :class:~`EvaluationDevice` |
Returns: |
@throws TaurusException if the given name is invalid.
Singleton instance initialization.
Deactivate the polling (client side) for the given attribute. If the polling of the attribute was not previously enabled, nothing happens.
Parameters: | attribute (:class:~`str`) – attribute name. |
---|