luna-sysmgr-common
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AccelerometerEvent Class Reference

#include <CustomEvents.h>

Inheritance diagram for AccelerometerEvent:
[legend]
Collaboration diagram for AccelerometerEvent:
[legend]

Public Member Functions

 AccelerometerEvent (float x, float y, float z)
 
 AccelerometerEvent (OrientationEvent::Orientation orientation)
 
 AccelerometerEvent (OrientationEvent::Orientation orientation, float pitch, float roll, float x, float y, float z, ShakeEvent::Shake shakeState, float shakeMagnitude)
 
float x () const
 
float y () const
 
float z () const
 
OrientationEvent::Orientation orientation () const
 
float pitch () const
 
float roll () const
 
ShakeEvent::Shake shakeState () const
 
float shakeMagnitude () const
 

Detailed Description

Event that combines values for acceleration, bearing, orientation, rotation and shake. This event is deprecated and can be removed when "event readers" use the new, individual event types.

Constructor & Destructor Documentation

AccelerometerEvent::AccelerometerEvent ( float  x,
float  y,
float  z 
)
inline
AccelerometerEvent::AccelerometerEvent ( OrientationEvent::Orientation  orientation)
inline
AccelerometerEvent::AccelerometerEvent ( OrientationEvent::Orientation  orientation,
float  pitch,
float  roll,
float  x,
float  y,
float  z,
ShakeEvent::Shake  shakeState,
float  shakeMagnitude 
)
inline

Member Function Documentation

OrientationEvent::Orientation AccelerometerEvent::orientation ( ) const
inline
float AccelerometerEvent::pitch ( ) const
inline
float AccelerometerEvent::roll ( ) const
inline
float AccelerometerEvent::shakeMagnitude ( ) const
inline
ShakeEvent::Shake AccelerometerEvent::shakeState ( ) const
inline
float AccelerometerEvent::x ( ) const
inline
float AccelerometerEvent::y ( ) const
inline
float AccelerometerEvent::z ( ) const
inline

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