sensorfw
XYZ Class Reference

QObject facade for #TimedXYZData. More...

#include <xyz.h>

List of all members.

Public Member Functions

 XYZ ()
 Default constructor.
 XYZ (const TimedXyzData &xyzData)
 Copy constructor.
 XYZ (const XYZ &xyz)
 Copy constructor.
const TimedXyzDataXYZData () const
 Returns the contained #TimedXYZData.
int x () const
 Returns the value for X.
int y () const
 Returns the value for Y.
int z () const
 Returns the value for Z.
XYZoperator= (const XYZ &origin)
 Assignment operator.
bool operator== (const XYZ &right) const
 Comparison 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 #TimedXYZData.

Definition at line 36 of file xyz.h.


Constructor & Destructor Documentation

XYZ::XYZ ( ) [inline]

Default constructor.

Definition at line 49 of file xyz.h.

XYZ::XYZ ( const TimedXyzData xyzData)

Copy constructor.

Parameters:
xyzDataSource object.
XYZ::XYZ ( const XYZ xyz)

Copy constructor.

Parameters:
xyzSource object.

Member Function Documentation

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

Assignment operator.

Parameters:
originSource object for assigment.

Definition at line 94 of file xyz.h.

bool XYZ::operator== ( const XYZ right) const [inline]

Comparison operator.

Parameters:
rightObject to compare to.
Returns:
comparison result.

Definition at line 106 of file xyz.h.

int XYZ::x ( ) const [inline]

Returns the value for X.

Returns:
x value.

Definition at line 75 of file xyz.h.

const TimedXyzData& XYZ::XYZData ( ) const [inline]

Returns the contained #TimedXYZData.

Returns:
Contained TimedXYZData

Definition at line 69 of file xyz.h.

int XYZ::y ( ) const [inline]

Returns the value for Y.

Returns:
y value.

Definition at line 81 of file xyz.h.

int XYZ::z ( ) const [inline]

Returns the value for Z.

Returns:
z value.

Definition at line 87 of file xyz.h.


Friends And Related Function Documentation

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 145 of file xyz.h.


Property Documentation

int XYZ::x [read]

Definition at line 40 of file xyz.h.

int XYZ::y [read]

Definition at line 41 of file xyz.h.

int XYZ::z [read]

Definition at line 42 of file xyz.h.


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