Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends

mozilla::net::ChannelEventQueue< T > Class Template Reference

#include <ChannelEventQueue.h>

Collaboration diagram for mozilla::net::ChannelEventQueue< T >:

List of all members.

Public Member Functions

 ChannelEventQueue (T *self)
 ~ChannelEventQueue ()

Protected Types

enum  { PHASE_UNQUEUED, PHASE_QUEUEING, PHASE_FINISHED_QUEUEING, PHASE_FLUSHING }
typedef AutoEventEnqueuerBase< T > AutoEventEnqueuer

Protected Member Functions

void BeginEventQueueing ()
void EndEventQueueing ()
void EnqueueEvent (ChannelEvent *callback)
bool ShouldEnqueue ()
void FlushEventQueue ()

Protected Attributes

nsTArray< nsAutoPtr
< ChannelEvent > > 
mEventQueue
enum
mozilla::net::ChannelEventQueue:: { ... }  
mQueuePhase

Friends

class AutoEventEnqueuerBase< T >

template<class T>
class mozilla::net::ChannelEventQueue< T >


Member Typedef Documentation

template<class T>
typedef AutoEventEnqueuerBase<T> mozilla::net::ChannelEventQueue< T >::AutoEventEnqueuer [protected]

Member Enumeration Documentation

template<class T>
anonymous enum [protected]
Enumerator:
PHASE_UNQUEUED 
PHASE_QUEUEING 
PHASE_FINISHED_QUEUEING 
PHASE_FLUSHING 

Constructor & Destructor Documentation

template<class T>
mozilla::net::ChannelEventQueue< T >::ChannelEventQueue ( T *  self  )  [inline]
template<class T>
mozilla::net::ChannelEventQueue< T >::~ChannelEventQueue (  )  [inline]

Member Function Documentation

template<class T >
void mozilla::net::ChannelEventQueue< T >::BeginEventQueueing (  )  [inline, protected]
template<class T >
void mozilla::net::ChannelEventQueue< T >::EndEventQueueing (  )  [inline, protected]
template<class T >
void mozilla::net::ChannelEventQueue< T >::EnqueueEvent ( ChannelEvent callback  )  [inline, protected]
template<class T >
void mozilla::net::ChannelEventQueue< T >::FlushEventQueue (  )  [protected]
template<class T >
bool mozilla::net::ChannelEventQueue< T >::ShouldEnqueue (  )  [inline, protected]

Friends And Related Function Documentation

template<class T>
friend class AutoEventEnqueuerBase< T > [friend]

Member Data Documentation

enum { ... } mozilla::net::ChannelEventQueue< T >::mQueuePhase [protected]

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