reSIProcate/DialogUsageManager  9694
Public Member Functions | Private Attributes
resip::DumThread Class Reference

#include <DumThread.hxx>

Inheritance diagram for resip::DumThread:
Inheritance graph
[legend]
Collaboration diagram for resip::DumThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DumThread (DialogUsageManager &dum)
virtual void thread ()

Private Attributes

DialogUsageManagermDum

Detailed Description

Definition at line 11 of file DumThread.hxx.


Constructor & Destructor Documentation

DumThread::DumThread ( DialogUsageManager dum)

Definition at line 9 of file DumThread.cxx.

   : mDum(dum)
{
}

Member Function Documentation

void DumThread::thread ( ) [virtual]

Implements resip::ThreadIf.

Definition at line 15 of file DumThread.cxx.

References resip::TimeLimitFifo< Msg >::getNext(), resip::DialogUsageManager::internalProcess(), resip::ThreadIf::isShutdown(), mDum, resip::TransactionUser::mFifo, and WarningLog.

{
   while (!isShutdown())
   {
      try
      {
         std::auto_ptr<Message> msg(mDum.mFifo.getNext(1000));  // Only need to wake up to see if we are shutdown
         if (msg.get())
         {
            mDum.internalProcess(msg);
         }
      }
      catch (BaseException& e)
      {
         WarningLog (<< "Unhandled exception: " << e);
      }
   }
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 18 of file DumThread.hxx.

Referenced by thread().


The documentation for this class was generated from the following files: