KPIM::ThreadWeaver::WeaverExtension Class Reference
A WeaverExtension can be attached to an existing Weaver object and will then receive signals on actions the Weaver takes, like starting to process a specific job, assigning a job to a thread or suspending a thread. More...
#include <weaverextensions.h>
Inherits QObject.
Inherited by KPIM::ThreadWeaver::WeaverThreadLogger.
Public Slots
- virtual void threadCreated (Thread *)
- virtual void threadDestroyed (Thread *)
- virtual void threadBusy (Thread *)
- virtual void threadSuspended (Thread *)
Public Member Functions
Detailed Description
A WeaverExtension can be attached to an existing Weaver object and will then receive signals on actions the Weaver takes, like starting to process a specific job, assigning a job to a thread or suspending a thread.It can be used to monitor the state of a program, but also, for example, to provide visualization of the Weaver's work load in GUI programs. Derive from it to actually create an extension.
Member Function Documentation
|
Attach() is a convenience method that will connect all our slots to signals emitted by the weaver. It is also possible to avoid attach() and only connect necessary signals. |
The documentation for this class was generated from the following files:
- weaverextensions.h
- weaverextensions.cpp