Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsPIEventQueueChain Class Reference

#include <nsPIEventQueueChain.h>

Inheritance diagram for nsPIEventQueueChain:
Inheritance graph
[legend]
Collaboration diagram for nsPIEventQueueChain:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NS_DEFINE_STATIC_IID_ACCESSOR (NS_IEVENTQUEUECHAIN_IID)
NS_IMETHOD AppendQueue (nsIEventQueue *aQueue)=0
 Add the given queue as the new youngest member of our chain.
NS_IMETHOD Unlink ()=0
 Remove this element from the chain.
NS_IMETHOD GetYoungest (nsIEventQueue **aQueue)=0
 Fetch (and addref) the youngest member of the chain.
NS_IMETHOD GetYoungestActive (nsIEventQueue **aQueue)=0
 Fetch (and addref) the youngest member of the chain which is still accepting events.
NS_IMETHOD SetYounger (nsPIEventQueueChain *aQueue)=0
NS_IMETHOD GetYounger (nsIEventQueue **aQueue)=0
NS_IMETHOD SetElder (nsPIEventQueueChain *aQueue)=0
NS_IMETHOD GetElder (nsIEventQueue **aQueue)=0
NS_IMETHOD RevokeEventsInternal (void *aOwner)=0
 Revoke events for aOwner in this queue and all elder queues.

Detailed Description

Definition at line 49 of file nsPIEventQueueChain.h.


Member Function Documentation

Add the given queue as the new youngest member of our chain.

It will not be addrefed.

Parameters:
aQueuethe queue. must not be null.
Returns:
error indication

Implemented in nsEventQueueImpl.

Implemented in nsEventQueueImpl.

Implemented in nsEventQueueImpl.

Fetch (and addref) the youngest member of the chain.

Parameters:
*aQueuethe youngest queue. aQueue must not be null.
Returns:
error indication

Implemented in nsEventQueueImpl.

Here is the caller graph for this function:

Fetch (and addref) the youngest member of the chain which is still accepting events.

Note that there may be still younger queues which still contain events in need of processing but have already stopped accepting new events.

Parameters:
*aQueuethe youngest such queue. aQueue must not be null. *aQueue will be returned null, if no such queue is found.
Returns:
error indication -- can be NS_OK even if *aQueue is 0

Implemented in nsEventQueueImpl.

Here is the caller graph for this function:

Revoke events for aOwner in this queue and all elder queues.

This differs in behavior from nsIEventQueue::RevokeEvents in that that method revokes events in younger queues too.

Implemented in nsEventQueueImpl.

Implemented in nsEventQueueImpl.

Implemented in nsEventQueueImpl.

Remove this element from the chain.

Returns:
NS_OK

Implemented in nsEventQueueImpl.


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