| sensorfw
    | 
Datatype for device pose interpretation. More...
#include <posedata.h>
 
  
| Public Types | |
| enum | Orientation { Undefined = 0 , LeftUp , RightUp , BottomUp , BottomDown , FaceDown , FaceUp } | 
| Possible device postures.  More... | |
| Public Member Functions | |
| PoseData () | |
| Constructor.  More... | |
| PoseData (Orientation orientation) | |
| Constructor.  More... | |
| PoseData (const quint64 ×tamp, Orientation orientation) | |
| Constructor.  More... | |
|  Public Member Functions inherited from TimedData | |
| TimedData (const quint64 ×tamp) | |
| Constructor.  More... | |
| Public Attributes | |
| PoseData::Orientation | orientation_ | 
| Device Orientation.  More... | |
|  Public Attributes inherited from TimedData | |
| quint64 | timestamp_ | 
| monotonic time (microsec)  More... | |
Datatype for device pose interpretation.
Definition at line 34 of file posedata.h.
Possible device postures.
Device side naming:
                   Top
               ----------
              /  NOKIA  /|
             /-------- / |
            //       //  /
           //       //  /
   Left   //  Face //  /    Right
         //       //  /
        //       //  /
       /---------/  /
      /    O    /  /
     /         /  /
     ----------  /
     |_________!/
       BottomDevice orientation.
| Enumerator | |
|---|---|
| Undefined | Orientation is unknown. | 
| LeftUp | Device left side is up. | 
| RightUp | Device right side is up. | 
| BottomUp | Device bottom is up. | 
| BottomDown | Device bottom is down. | 
| FaceDown | Device face is down. | 
| FaceUp | Device face is up. | 
Definition at line 73 of file posedata.h.
| 
 | inline | 
Constructor.
Definition at line 89 of file posedata.h.
| 
 | inline | 
Constructor.
| orientation | Initial value for orientation. | 
Definition at line 95 of file posedata.h.
| 
 | inline | 
Constructor.
| timestamp | Initial value for timestamp. | 
| orientation | Initial value for orientation. | 
Definition at line 102 of file posedata.h.
| PoseData::Orientation PoseData::orientation_ | 
Device Orientation.
Definition at line 84 of file posedata.h.