Public Slots | Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | Properties

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

virtual LocalSensorManagerInterface::~LocalSensorManagerInterface (  )  [virtual]

Destructor.

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

Constructor.

Parameters:
service DBus service name.
path DBus service path.
connection DBUs connection.
parent Parent object.

Member Function Documentation

SensorManagerError LocalSensorManagerInterface::errorCode (  ) 

Get error code of occured remote error.

Returns:
error code.
int LocalSensorManagerInterface::errorCodeInt (  ) 

Get error code integer.

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

Signal about occured errors.

Parameters:
error Occured error code.
QString LocalSensorManagerInterface::errorString (  ) 

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:
name plugin name.
Returns:
DBus reply.
QDBusReply<bool> LocalSensorManagerInterface::releaseSensor ( const QString &  id,
int  sessionId 
) [slot]

Request sensor deamon to release existing session.

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

Request sensor deamon to start new session for sensor.

Parameters:
id sensor 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

SensorManagerError LocalSensorManagerInterface::errorCode [read]

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.


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