CIMUEvent Class Reference

#include <RobotAPI/drivers/XsensIMU/IMU/IMUEvent.h>

Public Types

enum  EventType {
  eOnIMUStart = 0X0001, eOnIMUStop = 0X0002, eOnIMUCycle = 0X0004, eOnIMUFusedCycle = 0X0008,
  eOnIMUIntegratedState = 0X0010, eOnIMUCustomEvent = 0X8000
}
 

Public Member Functions

 CIMUEvent ()
 
 CIMUEvent (const CIMUEvent &Event)
 
 CIMUEvent (const EventType EventType, const CIMUDevice *pIMUDevice)
 
 CIMUEvent (const timeval &TimeStamp, const EventType EventType, const CIMUDevice *pIMUDevice)
 
 CIMUEvent (const timeval &TimeStamp, const EventType EventType, const CIMUDevice *pIMUDevice, const IMUState &EventState)
 
EventType GetEventType () const
 
uint32_t GetId () const
 
const CIMUDeviceGetIMU () const
 
const timeval & GetTimeStamp () const
 
virtual ~CIMUEvent ()
 

Protected Attributes

const EventType m_EventType
 
uint32_t m_Id
 
const IMUState m_IMUState
 
const CIMUDevicem_pIMUDevice
 
const timeval m_TimeStamp
 

Detailed Description

Definition at line 17 of file IMUEvent.h.

Member Enumeration Documentation

◆ EventType

enum EventType
Enumerator
eOnIMUStart 
eOnIMUStop 
eOnIMUCycle 
eOnIMUFusedCycle 
eOnIMUIntegratedState 
eOnIMUCustomEvent 

Definition at line 21 of file IMUEvent.h.

Constructor & Destructor Documentation

◆ CIMUEvent() [1/5]

CIMUEvent ( const timeval &  TimeStamp,
const EventType  EventType,
const CIMUDevice pIMUDevice,
const IMUState EventState 
)

Definition at line 17 of file IMUEvent.cpp.

◆ CIMUEvent() [2/5]

CIMUEvent ( const timeval &  TimeStamp,
const EventType  EventType,
const CIMUDevice pIMUDevice 
)

Definition at line 23 of file IMUEvent.cpp.

◆ CIMUEvent() [3/5]

CIMUEvent ( const EventType  EventType,
const CIMUDevice pIMUDevice 
)

Definition at line 28 of file IMUEvent.cpp.

◆ CIMUEvent() [4/5]

CIMUEvent ( const CIMUEvent Event)

Definition at line 33 of file IMUEvent.cpp.

◆ CIMUEvent() [5/5]

CIMUEvent ( )

Definition at line 38 of file IMUEvent.cpp.

◆ ~CIMUEvent()

~CIMUEvent ( )
virtualdefault

Member Function Documentation

◆ GetEventType()

EventType GetEventType ( ) const
inline

Definition at line 39 of file IMUEvent.h.

+ Here is the caller graph for this function:

◆ GetId()

uint32_t GetId ( ) const
inline

Definition at line 34 of file IMUEvent.h.

◆ GetIMU()

const CIMUDevice* GetIMU ( ) const
inline

Definition at line 44 of file IMUEvent.h.

+ Here is the caller graph for this function:

◆ GetTimeStamp()

const timeval& GetTimeStamp ( ) const
inline

Definition at line 49 of file IMUEvent.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_EventType

const EventType m_EventType
protected

Definition at line 58 of file IMUEvent.h.

◆ m_Id

uint32_t m_Id
protected

Definition at line 56 of file IMUEvent.h.

◆ m_IMUState

const IMUState m_IMUState
protected

Definition at line 60 of file IMUEvent.h.

◆ m_pIMUDevice

const CIMUDevice* m_pIMUDevice
protected

Definition at line 59 of file IMUEvent.h.

◆ m_TimeStamp

const timeval m_TimeStamp
protected

Definition at line 57 of file IMUEvent.h.


The documentation for this class was generated from the following files: