sbDeviceRequestThreadQueue Class Reference

#include <sbDeviceRequestThreadQueue.h>

Inheritance diagram for sbDeviceRequestThreadQueue:
[legend]
Collaboration diagram for sbDeviceRequestThreadQueue:
[legend]

Public Member Functions

nsresult Start (sbBaseDevice *aBaseDevice)
 
- Public Member Functions inherited from sbRequestThreadQueue
 NS_IMETHOD_ (nsrefcnt) AddRef(void)
 
 NS_IMETHOD_ (nsrefcnt) Release(void)
 
 sbRequestThreadQueue ()
 
virtual ~sbRequestThreadQueue ()
 
nsresult Start ()
 
nsresult Stop ()
 
nsresult BatchBegin ()
 
nsresult BatchEnd ()
 
nsresult PushRequest (sbRequestItem *aRequestItem)
 
nsresult PopBatch (Batch &aBatch)
 
nsresult ClearRequests ()
 
nsresult CancelRequests ()
 
bool CheckAndResetRequestAbort ()
 
bool IsHandlingRequests () const
 
bool IsRequestAbortActive () const
 
PRMonitor * GetStopWaitMonitor () const
 

Static Public Member Functions

static sbDeviceRequestThreadQueueNew ()
 

Additional Inherited Members

- Public Types inherited from sbRequestThreadQueue
enum  { USER_REQUEST_TYPES = 0x20000000, REQUEST_TYPE_NOT_SET = 0, REQUEST_THREAD_START = 1, REQUEST_THREAD_STOP = 2 }
 
- Protected Member Functions inherited from sbRequestThreadQueue
nsresult ClearRequestsNoLock (Batch &aRequests)
 
- Protected Attributes inherited from sbRequestThreadQueue
PRLock * mLock
 
PRInt32 mBatchDepth
 
PRMonitor * mStopWaitMonitor
 
bool mAbortRequests
 
bool mIsHandlingRequests
 
bool mThreadStarted
 
bool mStopProcessing
 

Detailed Description

Definition at line 40 of file sbDeviceRequestThreadQueue.h.

Member Function Documentation

sbDeviceRequestThreadQueue * sbDeviceRequestThreadQueue::New ( )
static

Definition at line 44 of file sbDeviceRequestThreadQueue.cpp.

Here is the caller graph for this function:

nsresult sbDeviceRequestThreadQueue::Start ( sbBaseDevice aBaseDevice)

Definition at line 51 of file sbDeviceRequestThreadQueue.cpp.

Here is the call graph for this function:


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