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)
EIGEN_STRONG_INLINE bool empty() const
GLubyte GLubyte GLubyte a
bool operator==(const TPoint2D &p1, const TPoint2D &p2)
Exact comparison between 2D points.
char BASE_IMPEXP * strcpy(char *dest, size_t destSize, const char *source) MRPT_NO_THROWS
An OS-independent version of strcpy.
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.
bool operator>(const CArray< T, N > &x, const CArray< T, N > &y)
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.
char m_portName[256]
The port name.
XsDeviceId m_deviceId
The device Id of main Xsens device detected on the port.
XsBaudRate
Communication speed.
@ XBR_Invalid
Not a valid baud rate.
XSTYPES_DLL_API int XsPortInfo_usbBus(XsPortInfo const *thisPtr)
XSTYPES_DLL_API int XsPortInfo_usbAddress(XsPortInfo const *thisPtr)
struct XsPortInfo XsPortInfo
XSTYPES_DLL_API int XsPortInfo_portNumber(XsPortInfo const *thisPtr)
XSTYPES_DLL_API void XsPortInfo_swap(XsPortInfo *a, struct XsPortInfo *b)
XSTYPES_DLL_API void XsPortInfo_clear(XsPortInfo *thisPtr)
XSTYPES_DLL_API int XsPortInfo_empty(XsPortInfo const *thisPtr)
XSTYPES_DLL_API int XsPortInfo_isUsb(XsPortInfo const *thisPtr)