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

#include <CustomEvents.h>

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

Public Types

enum  Orientation {
  Orientation_Invalid = 0, Orientation_FaceUp, Orientation_FaceDown, Orientation_Up,
  Orientation_Down, Orientation_Left, Orientation_Right, Orientation_Landscape,
  Orientation_Portrait, Orientation_Last = 1 << 31
}
 

Public Member Functions

 OrientationEvent (Orientation orientation, float pitch, float roll)
 
 OrientationEvent (Orientation orientation)
 
Orientation orientation () const
 
float pitch () const
 
float roll () const
 

Member Enumeration Documentation

Enumerator
Orientation_Invalid 
Orientation_FaceUp 
Orientation_FaceDown 
Orientation_Up 
Orientation_Down 
Orientation_Left 
Orientation_Right 
Orientation_Landscape 
Orientation_Portrait 
Orientation_Last 

Constructor & Destructor Documentation

OrientationEvent::OrientationEvent ( Orientation  orientation,
float  pitch,
float  roll 
)
inline
OrientationEvent::OrientationEvent ( Orientation  orientation)
inline

Member Function Documentation

Orientation OrientationEvent::orientation ( ) const
inline
float OrientationEvent::pitch ( ) const
inline
float OrientationEvent::roll ( ) const
inline

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