• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Engines

KSGRD::SensorClient

KSGRD::SensorClient Class Reference

Every object that should act as a client to a sensor must inherit from this class. More...

#include <sensorclient.h>

Inheritance diagram for KSGRD::SensorClient:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual void answerReceived (const QString &, const QList< QByteArray > &)
 SensorClient ()
virtual void sensorLost (const QString &)
virtual ~SensorClient ()

Detailed Description

Every object that should act as a client to a sensor must inherit from this class.

A pointer to the client object is passed as SensorClient* to the SensorAgent. When the requested information is available or a problem occurred one of the member functions is called.

Definition at line 37 of file sensorclient.h.


Constructor & Destructor Documentation

KSGRD::SensorClient::SensorClient (  )  [inline, explicit]

Definition at line 40 of file sensorclient.h.

virtual KSGRD::SensorClient::~SensorClient (  )  [inline, virtual]

Definition at line 41 of file sensorclient.h.


Member Function Documentation

virtual void KSGRD::SensorClient::answerReceived ( const QString &  ,
const QList< QByteArray > &   
) [inline, virtual]

This function is called whenever the information from the sensor has been received by the sensor agent.

This function must be reimplemented by the sensor client to receive and process this information.

Definition at line 48 of file sensorclient.h.

virtual void KSGRD::SensorClient::sensorLost ( const QString &   )  [inline, virtual]

In case of an unexpected fatal problem with the sensor the sensor agent will call this function to notify the client about it.

Definition at line 54 of file sensorclient.h.


The documentation for this class was generated from the following file:
  • sensorclient.h

Engines

Skip menu "Engines"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal