Source Code (Use browser search to find items of interest.)

Class Index

ktop'SensorRequest (./kdeutils/ktop/gui/SensorAgent.h:36)

class SensorRequest
{
	friend class SensorAgent;

public:
	SensorRequest(const QString& r, SensorClient* c, int i) :
		request(r), client(c), id(i) { }
	~SensorRequest() { }

private:
	QString request;
	SensorClient* client;
	int id;
} ;

/**
 * The SensorAgent starts a ktopd process and handles the asynchronous
 * communication. It keeps a list of pending requests that have not been
 * answered yet by ktopd. The current implementation only allowes one
 * pending requests. Incoming requests are queued in an input FIFO.
 */