15 #include <wpi/SmallString.h>
16 #include <wpi/SmallVector.h>
17 #include <wpi/mutex.h>
19 #include "hal/SerialPort.h"
64 void SortHubPathVector();
66 void QueryHubPaths(int32_t* status);
68 int32_t GetIndexForPort(HAL_SerialPort port, int32_t* status);
78 int32_t m_resourceHandle;
80 static wpi::mutex m_nameMutex;
81 static std::string m_usbNames[2];
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition: hostname.h:17
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
Definition: SmallVector.h:868
std::string GetVISASerialPortName(HAL_SerialPort port, int32_t *status)
Get the VISA name of a serial port.
std::string GetOSSerialPortName(HAL_SerialPort port, int32_t *status)
Get the OS name of a serial port.
WPILib Hardware Abstraction Layer (HAL) namespace.
Definition: NotifyListenerVector.h:18
std::vector< std::string > GetOSSerialPortList(int32_t *status)
Get a vector of all serial port OS names.
std::vector< std::string > GetVISASerialPortList(int32_t *status)
Get a vector of all serial port VISA names.
A class for deterministically getting information about Serial Ports.
Definition: SerialHelper.h:25