#include <PyInterp_Dispatcher.h>

Public Member Functions | |
| virtual | ~PyInterp_Dispatcher () |
| bool | IsBusy () const |
| void | Exec (PyInterp_Request *) |
Static Public Member Functions | |
| static PyInterp_Dispatcher * | Get () |
Private Types | |
| typedef PyInterp_Request * | RequestPtr |
Private Member Functions | |
| PyInterp_Dispatcher () | |
| virtual void | run () |
| void | processRequest (PyInterp_Request *) |
| void | objectDestroyed (const QObject *) |
Private Attributes | |
| QQueue< RequestPtr > | myQueue |
| QMutex | myQueueMutex |
| PyInterp_Watcher * | myWatcher |
Static Private Attributes | |
| static PyInterp_Dispatcher * | myInstance = 0 |
Friends | |
| class | PyInterp_Watcher |
typedef PyInterp_Request* PyInterp_Dispatcher.RequestPtr [private] |
| PyInterp_Dispatcher::PyInterp_Dispatcher | ( | ) | [private] |
References myWatcher, and PyInterp_Watcher.
| PyInterp_Dispatcher::~PyInterp_Dispatcher | ( | ) | [virtual] |
References PyInterp_Request.Destroy(), myQueue, myQueueMutex, and myWatcher.
| PyInterp_Dispatcher * PyInterp_Dispatcher::Get | ( | ) | [static] |
| bool PyInterp_Dispatcher::IsBusy | ( | ) | const |
| void PyInterp_Dispatcher::Exec | ( | PyInterp_Request * | theRequest | ) |
References IsBusy(), PyInterp_Request.IsSync(), PyInterp_Request.listener(), myQueue, myQueueMutex, myWatcher, and processRequest().
| void PyInterp_Dispatcher::run | ( | ) | [private, virtual] |
References myQueue, myQueueMutex, and processRequest().
| void PyInterp_Dispatcher::processRequest | ( | PyInterp_Request * | theRequest | ) | [private] |
References PyInterp_Request.process().
| void PyInterp_Dispatcher::objectDestroyed | ( | const QObject * | o | ) | [private] |
References PyInterp_Request.listener(), myQueue, myQueueMutex, and PyInterp_Request.setListener().
friend class PyInterp_Watcher [friend] |
QQueue<RequestPtr> PyInterp_Dispatcher.myQueue [private] |
QMutex PyInterp_Dispatcher.myQueueMutex [private] |
PyInterp_Watcher* PyInterp_Dispatcher.myWatcher [private] |
PyInterp_Dispatcher * PyInterp_Dispatcher::myInstance = 0 [static, private] |