15 uint32_t CIMUEvent::s_IdCounter = 0;
16 pthread_mutex_t CIMUEvent::s_IdCounterMutex = PTHREAD_MUTEX_INITIALIZER;
73 pthread_mutex_lock(&s_IdCounterMutex);
74 uint32_t Id = CIMUEvent::s_IdCounter++;
75 pthread_mutex_unlock(&s_IdCounterMutex);
This class contains the the devices module and the thread for read the measurements.
CIMUEvent(const timeval &TimeStamp, const EventType EventType, const CIMUDevice *pIMUDevice, const IMUState &EventState)
const EventType m_EventType
const timeval m_TimeStamp
const CIMUDevice * m_pIMUDevice
const IMUState m_IMUState