Bases: taurus.core.util.singleton.Singleton, taurus.core.taurusfactory.TaurusFactory, taurus.core.util.log.Logger
A Singleton class that provides Epics related objects.
Activates the polling (client side) for the given attribute with the given period (seconds).
Parameters: |
|
---|
Obtain the class object corresponding to the given name.
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 device associated to this attribute will also be created if necessary.
Parameters: | attr_name (:class:~`str`) – the attribute name string. See taurus.core.epics for valid attribute names |
---|---|
Return type: | :class:~`EpicsAttribute` |
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 EpicsDatabase object.
Parameters: | db_name (:class:~`str`) – this is ignored because only one dummy database is supported |
---|---|
Return type: | :class:~`EpicsDatabase` |
Returns: |
Obtain the EpicsDevice object.
Parameters: | dev_name (:class:~`str`) – this is ignored because only one dummy device is supported |
---|---|
Return type: | :class:~`EpicsDevice` |
Returns: |
Todo
Epics records may be implemented as taurus devices...
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. |
---|