sensorfw
XYZ Class Reference

QObject facade for XYZData. More...

#include <xyz.h>

Inheritance diagram for XYZ:

Public Member Functions

 XYZ ()
 Default constructor.
 
 XYZ (const TimedXyzData &xyzData)
 Copy constructor.
 
 XYZ (const XYZ &xyz)
 Copy constructor.
 
const TimedXyzDataXYZData () const
 Returns the contained XYZData.
 
float x () const
 Returns the value for X.
 
float y () const
 Returns the value for Y.
 
float z () const
 Returns the value for Z.
 
XYZoperator= (const XYZ &origin)
 Assignment operator.
 

Properties

int x
 
int y
 
int z
 

Friends

const QDBusArgument & operator>> (const QDBusArgument &argument, XYZ &xyz)
 Unmarshall XYZ data from the D-Bus argument.
 

Detailed Description

QObject facade for XYZData.

Definition at line 38 of file xyz.h.

Constructor & Destructor Documentation

◆ XYZ() [1/3]

XYZ::XYZ ( )
inline

Default constructor.

Definition at line 51 of file xyz.h.

◆ XYZ() [2/3]

XYZ::XYZ ( const TimedXyzData xyzData)

Copy constructor.

Parameters
xyzDataSource object.

◆ XYZ() [3/3]

XYZ::XYZ ( const XYZ xyz)

Copy constructor.

Parameters
xyzSource object.

Member Function Documentation

◆ operator=()

XYZ & XYZ::operator= ( const XYZ origin)
inline

Assignment operator.

Parameters
originSource object for assigment.

Definition at line 96 of file xyz.h.

◆ x()

float XYZ::x ( ) const
inline

Returns the value for X.

Returns
x value.

Definition at line 77 of file xyz.h.

◆ XYZData()

const TimedXyzData & XYZ::XYZData ( ) const
inline

Returns the contained XYZData.

Returns
Contained TimedXYZData

Definition at line 71 of file xyz.h.

◆ y()

float XYZ::y ( ) const
inline

Returns the value for Y.

Returns
y value.

Definition at line 83 of file xyz.h.

◆ z()

float XYZ::z ( ) const
inline

Returns the value for Z.

Returns
z value.

Definition at line 89 of file xyz.h.

Friends And Related Function Documentation

◆ operator>>

const QDBusArgument & operator>> ( const QDBusArgument &  argument,
XYZ xyz 
)
friend

Unmarshall XYZ data from the D-Bus argument.

Parameters
argumentdbus argument.
xyzunmarshalled data.
Returns
dbus argument.

Definition at line 133 of file xyz.h.

Property Documentation

◆ x

int XYZ::x
read

Definition at line 133 of file xyz.h.

◆ y

int XYZ::y
read

Definition at line 133 of file xyz.h.

◆ z

int XYZ::z
read

Definition at line 133 of file xyz.h.


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