Sorted list containing all weak references to opened devices from either the file driver, an avi-stream or a non-streaming device. More...
Inherits IDeviceSet.
Public Member Functions | |
FileDriverDeviceSet () | |
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 file 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 either the file driver, an avi-stream or a non-streaming device.
Devices are sorted by their file names (rooted path) or access token.
IEnumerable< Device > GetDevices | ( | ) |
Gets all currently tracked file devices.
Implements IDeviceSet.