43 #pragma warning(disable : 4996) 64 if (portname.size() < 255)
70 #ifndef XSENS_NO_PORT_NUMBERS 91 inline bool empty()
const 109 inline int portNumber()
const 123 inline void setPortName(
const XsString& portName_)
129 inline bool isUsb()
const 135 inline int usbBus()
const 141 inline int usbAddress()
const 182 #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)
char BASE_IMPEXP * strcpy(char *dest, size_t destSize, const char *source) MRPT_NO_THROWS
An OS-independent version of strcpy.
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)
bool operator>(const CArray< T, N > &x, const CArray< T, N > &y)
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)
int BASE_IMPEXP sprintf(char *buf, size_t bufSize, const char *format,...) MRPT_NO_THROWS MRPT_printf_format_check(3
An OS-independent version of sprintf (Notice the bufSize param, which may be ignored in some compiler...
bool operator<(const CPoint< DERIVEDCLASS > &a, const CPoint< DERIVEDCLASS > &b)
Used by STL algorithms.
XsBaudRate
Communication speed.
GLubyte GLubyte GLubyte a
XSTYPES_DLL_API int XsPortInfo_usbBus(XsPortInfo const *thisPtr)