#include </home/clem/local/src/opie/noncore/multimedia/opieplayer2/threadutil.h>
Inheritance diagram for ThreadUtil::Channel:


Public Types | |
| enum | SendType { OneWay, WaitForReply } |
Public Member Functions | |
| Channel (QObject *parent=0, const char *name=0) | |
| virtual | ~Channel () |
| void | send (ChannelMessage *message, SendType type) |
Protected Member Functions | |
| virtual void | receiveMessage (ChannelMessage *message, SendType type)=0 |
Private Types | |
| typedef QValueList< MsgEnvelope > | MsgEnvelopeList |
Private Slots | |
| void | deliver () |
Private Member Functions | |
| void | deliverOne (const MsgEnvelope &envelope) |
Private Attributes | |
| OnewayNotifier | m_notifier |
| MsgEnvelopeList | m_pendingMessages |
| Mutex | m_pendingMessagesGuard |
| Private * | d |
Classes | |
| struct | MsgEnvelope |
|
|
Definition at line 190 of file threadutil.h. |
|
|
Definition at line 163 of file threadutil.h. |
|
||||||||||||
|
Definition at line 311 of file threadutil.cpp. References deliver(), and m_notifier. |
|
|
Definition at line 318 of file threadutil.cpp. References d. |
|
|
Definition at line 351 of file threadutil.cpp. References QValueList< T >::begin(), deliverOne(), QValueList< T >::first(), QValueList< T >::isEmpty(), ThreadUtil::Mutex::lock(), m_pendingMessages, m_pendingMessagesGuard, QValueList< T >::remove(), and ThreadUtil::Mutex::unlock(). |
|
|
Definition at line 366 of file threadutil.cpp. References assert, ThreadUtil::Mutex::lock(), ThreadUtil::ChannelMessage::m_guard, ThreadUtil::ChannelMessage::m_inEventHandler, ThreadUtil::Channel::MsgEnvelope::msg, receiveMessage(), ThreadUtil::Channel::MsgEnvelope::type, and WaitForReply. Referenced by deliver(). |
|
||||||||||||
|
Referenced by deliverOne(). |
|
||||||||||||
|
|
Definition at line 195 of file threadutil.h. Referenced by send(), and ~Channel(). |
|
|
Definition at line 176 of file threadutil.h. |
|
|
Definition at line 192 of file threadutil.h. |
|
|
Definition at line 193 of file threadutil.h. |
1.4.2