sensorfw
|
#include <sensormanagerinterface.h>
Public Member Functions | |
template<class SensorInterfaceType > | |
void | registerSensorInterface (const QString &sensorName) |
AbstractSensorChannelInterface * | interface (const QString &id) |
bool | releaseInterface (const QString &id, int sessionId) |
bool | registeredAndCorrectClassName (const QString &id, const QString &className) const |
![]() | |
virtual | ~LocalSensorManagerInterface () |
Destructor. More... | |
SensorManagerError | errorCode () |
Get error code of occured remote error. More... | |
QString | errorString () |
Get error description of occured remote error. More... | |
Static Public Member Functions | |
static SensorManagerInterface & | instance () |
Protected Member Functions | |
SensorManagerInterface () | |
virtual | ~SensorManagerInterface () |
![]() | |
LocalSensorManagerInterface (const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0) | |
Constructor. More... | |
Protected Attributes | |
QMap< QString, SensorInterfaceEntry > | sensorInterfaceMap_ |
Static Protected Attributes | |
static SensorManagerInterface * | ifc_ |
static QMutex | mutex_ |
Additional Inherited Members | |
![]() | |
QDBusReply< bool > | loadPlugin (const QString &name) |
Request sensor daemon to load plugin. More... | |
QDBusReply< int > | requestSensor (const QString &id) |
Request sensor deamon to start new session for sensor. More... | |
QDBusReply< bool > | releaseSensor (const QString &id, int sessionId) |
Request sensor deamon to release existing session. More... | |
![]() | |
void | errorSignal (int error) |
Signal about occured errors. More... | |
void | loadPluginFinished () |
void | requestSensorFinished () |
void | releaseSensorFinished () |
![]() | |
static const char * | staticInterfaceName |
Get name of the D-Bus interface for this class. More... | |
![]() | |
void | loadPluginFinished (QDBusPendingCallWatcher *watch) |
void | requestSensorFinished (QDBusPendingCallWatcher *watch) |
void | releaseSensorFinished (QDBusPendingCallWatcher *watch) |
![]() | |
SensorManagerError | errorCode |
QString | errorString |
int | errorCodeInt |
Definition at line 43 of file sensormanagerinterface.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 60 of file sensormanagerinterface.h.
|
static |
AbstractSensorChannelInterface * SensorManagerInterface::interface | ( | const QString & | id | ) |
bool SensorManagerInterface::registeredAndCorrectClassName | ( | const QString & | id, |
const QString & | className | ||
) | const |
void SensorManagerInterface::registerSensorInterface | ( | const QString & | sensorName | ) |
Definition at line 69 of file sensormanagerinterface.h.
bool SensorManagerInterface::releaseInterface | ( | const QString & | id, |
int | sessionId | ||
) |
|
staticprotected |
Definition at line 64 of file sensormanagerinterface.h.
|
staticprotected |
Definition at line 65 of file sensormanagerinterface.h.
|
protected |
Definition at line 62 of file sensormanagerinterface.h.