sensorfw
LocalSensorManagerInterface Class Reference

DBus interface to SensorManager instance. More...

#include <sensormanager_i.h>

Inheritance diagram for LocalSensorManagerInterface:
SensorManagerInterface

List of all members.

Public Slots

QDBusReply< bool > loadPlugin (const QString &name)
 Request sensor daemon to load plugin.
QDBusReply< int > requestSensor (const QString &id)
 Request sensor deamon to start new session for sensor.
QDBusReply< bool > releaseSensor (const QString &id, int sessionId)
 Request sensor deamon to release existing session.

Signals

void errorSignal (int error)
 Signal about occured errors.

Public Member Functions

int errorCodeInt ()
 Get error code integer.
virtual ~LocalSensorManagerInterface ()
 Destructor.
SensorManagerError errorCode ()
 Get error code of occured remote error.
QString errorString ()
 Get error description of occured remote error.

Static Public Attributes

static const char * staticInterfaceName
 Get name of the D-Bus interface for this class.

Protected Member Functions

 LocalSensorManagerInterface (const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0)
 Constructor.

Properties

SensorManagerError errorCode
QString errorString
int errorCodeInt

Detailed Description

DBus interface to SensorManager instance.

Definition at line 40 of file sensormanager_i.h.


Constructor & Destructor Documentation

LocalSensorManagerInterface::LocalSensorManagerInterface ( const QString &  service,
const QString &  path,
const QDBusConnection &  connection,
QObject *  parent = 0 
) [protected]

Constructor.

Parameters:
serviceDBus service name.
pathDBus service path.
connectionDBUs connection.
parentParent object.

Member Function Documentation

Get error code of occured remote error.

Returns:
error code.

Get error code integer.

Returns:
error code interger.
void LocalSensorManagerInterface::errorSignal ( int  error) [signal]

Signal about occured errors.

Parameters:
errorOccured error code.

Get error description of occured remote error.

Returns:
error description.
QDBusReply<bool> LocalSensorManagerInterface::loadPlugin ( const QString &  name) [slot]

Request sensor daemon to load plugin.

Parameters:
nameplugin name.
Returns:
DBus reply.
QDBusReply<bool> LocalSensorManagerInterface::releaseSensor ( const QString &  id,
int  sessionId 
) [slot]

Request sensor deamon to release existing session.

Parameters:
idsensor ID.
sessionIdsession ID.
Returns:
DBus reply.
QDBusReply<int> LocalSensorManagerInterface::requestSensor ( const QString &  id) [slot]

Request sensor deamon to start new session for sensor.

Parameters:
idsensor ID.
Returns:
DBus reply.

Member Data Documentation

Get name of the D-Bus interface for this class.

Returns:
Name of the interface.

Definition at line 61 of file sensormanager_i.h.


Property Documentation

Definition at line 46 of file sensormanager_i.h.

Definition at line 45 of file sensormanager_i.h.


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