9from .facade_interface
import IDeviceNetworkHighLevel
10from .facadesubsystem_interface
import IDeviceNetworkLowLevel
11from .facade_complicatedsubsystem
import CreateLowLevelInstance
26 def __init__(self, system : IDeviceNetworkLowLevel) ->
None:
28 raise ValueError(
"The system being wrapped cannot be None.")
85 lowlevelSystem = CreateLowLevelInstance()
static bool LockDeviceChain(int chainIndex)
Lock the specified device chain to indicate exclusive access is desired.
static void ResetDeviceChain(int chainIndex)
Reset the visibility of all devices on the given device chain so that all devices except the first ar...
static bool UnlockDeviceChain(int chainIndex)
Unlock the specified device chain to indicate exclusive access is no longer desired.
static int GetNumChains(void)
Retrieve the number of device chains.
This class wraps the IDeviceNetworkLowLevel interface and implements the high level IDeviceNetworkHig...
_lowLevelSystem
The low level system being wrapped by this class.
list GetIdcodes(self, int chainIndex)
Returns a list of all idcodes from all selected devices in the given device chain.
None DisableDevicesInDeviceChain(self, int chainIndex)
Resets the given device chain so that all devices except the TAP controller is no longer visible.
None EnableDevicesInDeviceChain(self, int chainIndex, int selectMask)
Make visible certain devices in the given device chain.
None __init__(self, IDeviceNetworkLowLevel system)
Constructor.
Represents a high level view of a complex network of device chains.
IDeviceNetworkHighLevel CreateHighLevelInstance()
Class factory for a singleton instance of the IDeviceNetworkHighLevel interface.