BasedOnProvider
”
Module for BasedOnProvider class.
BasedOnProvider
-
class openlmi.storage.BasedOnProvider.BasedOnProvider(*args, **kwargs)[source]
Base of all BasedOn providers.
It should handle everything, subclasses just need to override
enumerate_devices.
-
__init__(*args, **kwargs)[source]
-
enum_instances(*args, **kwargs)[source]
Provider implementation of EnumerateInstances intrinsic method.
-
enumerate_devices(*args, **kwargs)[source]
Enumerate all devices, which are in this association as
Dependent ones. The Antecedent ones are found using
DeviceProvider.get_base_devices of the DependentDevice.
-
get_instance(*args, **kwargs)[source]
Provider implementation of GetInstance intrinsic method.
It just checks if Dependent and Antecedent are related.
-
references(*args, **kwargs)[source]
Instrument Associations.