Bases: object
The base class for valid Factories in Taurus.
Activates the polling (client side) for the given attribute with the given period (seconds).
Parameters: |
|
---|
Disable the application tango polling
Enable the application tango polling
Must give an absolute name
Obtain the class object corresponding to the given name.
@param[in] absolute_name the object absolute name string
@return a class object that should be a subclass of a taurus.core.taurusmodel.TaurusModel @throws TaurusException if the given name is invalid.
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.
@param[in] attr_name string attribute name
@return a taurus.core.taurusattribute.TaurusAttribute object @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 object corresponding to the given database name or the default database if db_name is None. If the corresponding database object already exists, the existing instance is returned. Otherwise a new instance is stored and returned.
@return a taurus.core.taurusdatabase.TaurusDatabase object @throws TaurusException if the given name is invalid.
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.
@return a taurus.core.taurusdevice.TaurusDevice object @throws TaurusException if the given name is invalid.
Gives the serialization operation mode.
Return type: | :class:~`TaurusSerializationMode` |
---|---|
Returns: | the current serialization mode |
Tells if the local tango polling is enabled
Return type: | :class:~`bool` |
---|---|
Returns: | wheter or not the polling is enabled |
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. |
---|
Sets the operation mode for the Tango system.
Sets the serialization mode for the system.
Parameters: | mode (:class:~`TaurusSerializationMode`) – the new serialization mode |
---|