Go to the documentation of this file.
65 #ifndef DEVICEREDETECTOR_H
66 #define DEVICEREDETECTOR_H
virtual bool redetectScanPorts(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)
Scan for devices until the requested device is found.
A class which re-detects a device with a certain device Id.
std::map< XsDeviceId, FunctionPointer > m_detectFunctions
A map filled with detect functions.
DeviceRedetector(const XsPortInfo &portInfo)
Construct an Device Redetector object.
bool redetect(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck=false)
Base redetect function which calls the appropriate redetect based on deviceId.
Contains a descriptor for opening a communication port to an Xsens device.
bool(DeviceRedetector::* FunctionPointer)(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)
A typedef for a function pointer.
virtual ~DeviceRedetector()
virtual bool redetectEnumerateSerialPorts(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)
Redectets and enumerates the serial ports for a given device.
Contains an Xsens device ID and provides operations for determining the type of device.
virtual bool redetectOneComPort(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)
Redectes a device on one com port.
virtual bool redetectNoScan(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)
virtual bool redetectEnumerateNetworkDevices(const XsDeviceId &deviceId, XsPortInfo &portInfo, bool skipDeviceIdCheck)