43 #pragma warning(disable : 4996) 65 if (portname.size() < 255)
71 #ifndef XSENS_NO_PORT_NUMBERS 109 inline bool operator==(
const char* port)
const 121 inline void setPortName(
const XsString& portName_)
156 #if defined(_MSC_VER) XSTYPES_DLL_API int XsPortInfo_usbAddress(XsPortInfo const *thisPtr)
bool operator==(const TPoint2D &p1, const TPoint2D &p2)
Exact comparison between 2D points.
EIGEN_STRONG_INLINE bool empty() const
XSTYPES_DLL_API int XsPortInfo_empty(XsPortInfo const *thisPtr)
char m_portName[256]
The port name.
XSTYPES_DLL_API void XsPortInfo_clear(XsPortInfo *thisPtr)
XSTYPES_DLL_API void XsPortInfo_swap(XsPortInfo *a, struct XsPortInfo *b)
void clear()
Clear the contents of this container.
XsBaudRate m_baudrate
The baudrate at which an Xsens device was detected, may be XBR_Invalid for pure USB ports...
XSTYPES_DLL_API int XsPortInfo_isUsb(XsPortInfo const *thisPtr)
XsDeviceId m_deviceId
The device Id of main Xsens device detected on the port.
struct XsPortInfo XsPortInfo
XSTYPES_DLL_API int XsPortInfo_portNumber(XsPortInfo const *thisPtr)
bool operator<(const CPoint< DERIVEDCLASS > &a, const CPoint< DERIVEDCLASS > &b)
Used by STL algorithms.
char * strcpy(char *dest, size_t destSize, const char *source) noexcept
An OS-independent version of strcpy.
XsBaudRate
Communication speed.
GLubyte GLubyte GLubyte a
XSTYPES_DLL_API int XsPortInfo_usbBus(XsPortInfo const *thisPtr)
int sprintf(char *buf, size_t bufSize, const char *format,...) noexcept MRPT_printf_format_check(3
An OS-independent version of sprintf (Notice the bufSize param, which may be ignored in some compiler...