11 using System.Collections.
Generic;
32 for (
int d = 0; d < this.Count; d++) {
33 if (
this[d].Handle == deviceHandle)
49 for (
int d = 0; d < Count; d++) {
50 if (
this[d].IsStreaming) {
64 if (existingDevice !=
null) {
65 existingDevice.
Update(device);
76 get {
return Count == 0; }
The Device class represents a physically connected device.
void Update(float horizontalViewAngle, float verticalViewAngle, float range, float baseline, uint status, string serialNumber)
For internal use only.
IntPtr Handle
For internal use only.
The DeviceList class represents a list of Device objects.
bool IsEmpty
Reports whether the list is empty.
Device FindDeviceByHandle(IntPtr deviceHandle)
For internal use only.
DeviceList()
Constructs an empty list of devices.
void AddOrUpdate(Device device)
For internal use only.
Device ActiveDevice
The device that is currently streaming tracking data. If no streaming devices are found,...