Sorted list containing all weak references to opened devices from a certain Vin driver. More...
Inherits IDeviceSet.
Public Member Functions | |
VinDriverDeviceSet () | |
Ctor. | |
bool | Add (Device device) |
Implements IDeviceSet.Add. | |
bool | Remove (Device device) |
Implements IDeviceSet.Remove. | |
bool | Contains (Device deviceToCheck, out Device presentDevice) |
Implements IDeviceSet.Contains. | |
void | Collect () |
Implements IDeviceSet.Collect. | |
IEnumerable< Device > | GetDevices () |
Gets all currently tracked vin devices. More... | |
bool | Add (Device device) |
Adds the given device to this set. More... | |
bool | Remove (Device device) |
Removes the given device from this set. More... | |
bool | Contains (Device deviceToCheck, out Device presentDevice) |
Checks whether an instance equivalent to deviceToCheck is present in this set. More... | |
IEnumerable< Device > | GetDevices () |
Gets all currently tracked devices. More... | |
void | Collect () |
Checks this set for expired weak references and trims the set to the actually alive objects. | |
Properties | |
int | Count [get] |
Gets the number of tracked devices. | |
Properties inherited from IDeviceSet | |
int | Count [get] |
Gets the number of active devices in this set. | |
Sorted list containing all weak references to opened devices from a certain Vin driver.
Devices are sorted first by board number and then by port number.
IEnumerable< Device > GetDevices | ( | ) |
Gets all currently tracked vin devices.
Implements IDeviceSet.