Engines
KSGRD::SensorClient Class Reference
Every object that should act as a client to a sensor must inherit from this class. More...
#include <sensorclient.h>

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: