sensorfw
|
DBus interface to SensorManager instance. More...
#include <sensormanager_i.h>
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 |
DBus interface to SensorManager instance.
Definition at line 40 of file sensormanager_i.h.
virtual LocalSensorManagerInterface::~LocalSensorManagerInterface | ( | ) | [virtual] |
Destructor.
LocalSensorManagerInterface::LocalSensorManagerInterface | ( | const QString & | service, |
const QString & | path, | ||
const QDBusConnection & | connection, | ||
QObject * | parent = 0 |
||
) | [protected] |
Constructor.
service | DBus service name. |
path | DBus service path. |
connection | DBUs connection. |
parent | Parent object. |
Get error code of occured remote error.
Get error code integer.
void LocalSensorManagerInterface::errorSignal | ( | int | error | ) | [signal] |
Signal about occured errors.
error | Occured error code. |
QString LocalSensorManagerInterface::errorString | ( | ) |
Get error description of occured remote error.
QDBusReply<bool> LocalSensorManagerInterface::loadPlugin | ( | const QString & | name | ) | [slot] |
Request sensor daemon to load plugin.
name | plugin name. |
QDBusReply<bool> LocalSensorManagerInterface::releaseSensor | ( | const QString & | id, |
int | sessionId | ||
) | [slot] |
Request sensor deamon to release existing session.
id | sensor ID. |
sessionId | session ID. |
QDBusReply<int> LocalSensorManagerInterface::requestSensor | ( | const QString & | id | ) | [slot] |
Request sensor deamon to start new session for sensor.
id | sensor ID. |
const char* LocalSensorManagerInterface::staticInterfaceName [static] |
Get name of the D-Bus interface for this class.
Definition at line 61 of file sensormanager_i.h.
Definition at line 44 of file sensormanager_i.h.
int LocalSensorManagerInterface::errorCodeInt [read] |
Definition at line 46 of file sensormanager_i.h.
QString LocalSensorManagerInterface::errorString [read] |
Definition at line 45 of file sensormanager_i.h.