sensorfw
datatypes/proximity.h File Reference

QObject based datatype for ProximityData. More...

#include <QDBusArgument>
#include <datatypes/unsigned.h>
#include <datatypes/orientationdata.h>

Go to the source code of this file.

Classes

class  Proximity
 QObject facade for ProximityData. More...

Functions

QDBusArgument & operator<< (QDBusArgument &argument, const Proximity &data)
 Marshall the Proximity data into a D-Bus argument.
const QDBusArgument & operator>> (const QDBusArgument &argument, Proximity &data)
 Unmarshall Proximity data from the D-Bus argument.

Detailed Description

QObject based datatype for ProximityData.

Copyright (C) 2009-2010 Nokia Corporation

Author:
Antti Virtanen <antti.i.virtanen@nokia.com>

This file is part of Sensord.

Sensord is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

Sensord is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Sensord. If not, see <http://www.gnu.org/licenses/>.

Definition in file proximity.h.


Function Documentation

QDBusArgument& operator<< ( QDBusArgument &  argument,
const Proximity data 
) [inline]

Marshall the Proximity data into a D-Bus argument.

Parameters:
argumentdbus argument.
datadata to marshall.
Returns:
dbus argument.

Definition at line 130 of file proximity.h.

const QDBusArgument& operator>> ( const QDBusArgument &  argument,
Proximity data 
) [inline]

Unmarshall Proximity data from the D-Bus argument.

Parameters:
argumentdbus argument.
dataunmarshalled data.
Returns:
dbus argument.

Definition at line 145 of file proximity.h.