Go to the documentation of this file.
70 using namespace xsens;
79 , m_doGotoConfig(false)
80 , m_communicator(&communicator)
86 for (
int i = 0; i < 6; ++i)
virtual ~MtThread(void)
Destructor.
XsResultValue writeRawData(const XsByteArray &data) override
Write raw data to the open COM or USB port.
struct XsByteArray XsByteArray
void XsTime_msleep(uint32_t ms)
Make the current thread sleep for at least ms milliseconds.
A class that uses serial communication.
int32_t innerFunction() override
The inner thread function.
void setDoGotoConfig(bool doit)
Set whether we should send gotoconfig here.
@ XRV_OK
0: Operation was performed successfully
A class implementing some basic data poller behavior.
XsByteArray * m_gotoConfigPlus
SerialCommunicator * m_communicator
void cleanup()
Clean up the DataPoller.
Structure for storing a single message.
MtThread(DataParser &fetcher, SerialCommunicator &communicator)
Default constructor.
int64_t XsTime_timeStampNow(XsTimeStamp *now)
Returns the current time in ms since the epoch (Jan 1st 1970)
virtual int32_t innerFunction(void)
The inner thread function.
A class for the data parsing on a separete thread.