This object describes how to treat the data in an array.
void XsArray_construct(void *thisPtr, XsArrayDescriptor const *const descriptor, XsSize count, void const *src)
Initializes the XsArray with space for count items and copies them from src.
void XsArray_rawCopy(void *to, void const *from, XsSize count, XsSize iSize)
Copies items optimized in a direct way.
const XsArrayDescriptor g_xsPortInfoArrayDescriptor
Descriptor for XsPortInfoArray.
XsPortLinesOptions m_linesOptions
The hardware flow control lines options for the port.
XsDeviceId m_deviceId
The device Id of main Xsens device detected on the port.
XsBaudRate m_baudrate
The baudrate at which an Xsens device was detected, may be XBR_Invalid for pure USB ports.
void XsPortInfoArray_construct(XsPortInfoArray *thisPtr, XsSize count, XsPortInfo const *src)
struct XsPortInfo XsPortInfo
Contains a descriptor for opening a communication port to an Xsens device.
uint16_t m_pid
The USB Vendor Id and Hardware Id of this connection, when available.
void copyPortInfo(XsPortInfo *dest, XsPortInfo const *src)
char m_portName[256]
The port name.
size_t XsSize
XsSize must be unsigned number!
A list of XsPortInfo values.
Contains an Xsens device ID and provides operations for determining the type of device.
void XsPortInfo_clear(XsPortInfo *thisPtr)
Initializes the object to the empty state.
int comparePortInfo(XsPortInfo const *a, XsPortInfo const *b)
void XsPortInfo_swap(struct XsPortInfo *a, struct XsPortInfo *b)
Swap the contents of a with those of b.