Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ThreadUtil::ChannelMessage Class Reference

#include </home/clem/local/src/opie/noncore/multimedia/opieplayer2/threadutil.h>

Collaboration diagram for ThreadUtil::ChannelMessage:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChannelMessage (int type=-1, int data=-1, const char *msg=0)
virtual ~ChannelMessage ()
int type () const
int data () const
const char * msg () const
void reply ()

Private Member Functions

 ChannelMessage (const ChannelMessage &)
ChannelMessageoperator= (const ChannelMessage)

Private Attributes

int m_type
int m_data
const char * m_msg
bool m_isCall: 1
bool m_replied: 1
bool m_inEventHandler: 1
Mutex m_guard
WaitCondition m_condition

Friends

class Channel

Constructor & Destructor Documentation

ChannelMessage::ChannelMessage int  type = -1,
int  data = -1,
const char *  msg = 0
 

Definition at line 272 of file threadutil.cpp.

ChannelMessage::~ChannelMessage  )  [virtual]
 

Definition at line 277 of file threadutil.cpp.

References ThreadUtil::Mutex::isLocked(), m_guard, and ThreadUtil::Mutex::unlock().

ThreadUtil::ChannelMessage::ChannelMessage const ChannelMessage  )  [private]
 


Member Function Documentation

int ThreadUtil::ChannelMessage::data  )  const [inline]
 

Definition at line 140 of file threadutil.h.

References m_data.

Referenced by XINE::Lib::receiveMessage().

const char* ThreadUtil::ChannelMessage::msg  )  const [inline]
 

Definition at line 141 of file threadutil.h.

References m_msg.

Referenced by XINE::Lib::receiveMessage().

ChannelMessage& ThreadUtil::ChannelMessage::operator= const   ChannelMessage  )  [private]
 

void ChannelMessage::reply  ) 
 

Definition at line 283 of file threadutil.cpp.

References m_condition, m_guard, m_inEventHandler, m_isCall, m_replied, odebug, oendl, ThreadUtil::Mutex::unlock(), and ThreadUtil::WaitCondition::wakeOne().

int ThreadUtil::ChannelMessage::type  )  const [inline]
 

Definition at line 139 of file threadutil.h.

References m_type.

Referenced by XINE::Lib::receiveMessage().


Friends And Related Function Documentation

friend class Channel [friend]
 

Definition at line 134 of file threadutil.h.


Member Data Documentation

WaitCondition ThreadUtil::ChannelMessage::m_condition [private]
 

Definition at line 156 of file threadutil.h.

Referenced by reply(), and ThreadUtil::Channel::send().

int ThreadUtil::ChannelMessage::m_data [private]
 

Definition at line 150 of file threadutil.h.

Referenced by data().

Mutex ThreadUtil::ChannelMessage::m_guard [private]
 

Definition at line 155 of file threadutil.h.

Referenced by ThreadUtil::Channel::deliverOne(), reply(), ThreadUtil::Channel::send(), and ~ChannelMessage().

bool ThreadUtil::ChannelMessage::m_inEventHandler [private]
 

Definition at line 154 of file threadutil.h.

Referenced by ThreadUtil::Channel::deliverOne(), and reply().

bool ThreadUtil::ChannelMessage::m_isCall [private]
 

Definition at line 152 of file threadutil.h.

Referenced by reply(), and ThreadUtil::Channel::send().

const char* ThreadUtil::ChannelMessage::m_msg [private]
 

Definition at line 151 of file threadutil.h.

Referenced by msg().

bool ThreadUtil::ChannelMessage::m_replied [private]
 

Definition at line 153 of file threadutil.h.

Referenced by reply().

int ThreadUtil::ChannelMessage::m_type [private]
 

Definition at line 149 of file threadutil.h.

Referenced by type().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:57 2005 for OPIE by  doxygen 1.4.2