sbDeviceEventTesterRemovalHelper Class Reference

#include <sbDeviceEventTesterRemoval.h>

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

Classes

struct  ACTION
 

Public Types

enum  ACTION_TYPE { ACTION_ADDREMOVE, ACTION_SET_FLAG, ACTION_CHECK_FLAG, ACTION_DISPATCH }
 

Public Member Functions

 sbDeviceEventTesterRemovalHelper (const char aName)
 
nsresult AddAction (ACTION_TYPE aType, PRBool aSet, sbIDeviceEventListener *aListener)
 
nsresult AddAction (ACTION_TYPE aType, PRBool aSet, int aFlag, int aCount)
 
nsresult AddAction (ACTION aAction)
 
nsresult SetFlag (PRUint32 aFlag, PRBool aSet)
 
- Public Member Functions inherited from sbIDeviceEventListener
void onDeviceEvent (in sbIDeviceEvent aEvent)
 

Protected Attributes

char mName
 
nsTArray< ACTIONmActions
 
nsDataHashtableMT
< nsUint32HashKey, PRBool > 
mFlags
 

Detailed Description

Definition at line 56 of file sbDeviceEventTesterRemoval.h.

Member Enumeration Documentation

Enumerator
ACTION_ADDREMOVE 
ACTION_SET_FLAG 
ACTION_CHECK_FLAG 
ACTION_DISPATCH 

Definition at line 62 of file sbDeviceEventTesterRemoval.h.

Constructor & Destructor Documentation

sbDeviceEventTesterRemovalHelper::sbDeviceEventTesterRemovalHelper ( const char  aName)

Member Function Documentation

nsresult sbDeviceEventTesterRemovalHelper::AddAction ( ACTION_TYPE  aType,
PRBool  aSet,
sbIDeviceEventListener aListener 
)
inline

Definition at line 96 of file sbDeviceEventTesterRemoval.h.

Here is the caller graph for this function:

nsresult sbDeviceEventTesterRemovalHelper::AddAction ( ACTION_TYPE  aType,
PRBool  aSet,
int  aFlag,
int  aCount 
)
inline

Definition at line 100 of file sbDeviceEventTesterRemoval.h.

Here is the call graph for this function:

nsresult sbDeviceEventTesterRemovalHelper::AddAction ( ACTION  aAction)

Definition at line 208 of file sbDeviceEventTesterRemoval.cpp.

nsresult sbDeviceEventTesterRemovalHelper::SetFlag ( PRUint32  aFlag,
PRBool  aSet 
)

Definition at line 213 of file sbDeviceEventTesterRemoval.cpp.

Member Data Documentation

nsTArray<ACTION> sbDeviceEventTesterRemovalHelper::mActions
protected

Definition at line 110 of file sbDeviceEventTesterRemoval.h.

nsDataHashtableMT<nsUint32HashKey, PRBool> sbDeviceEventTesterRemovalHelper::mFlags
protected

Definition at line 111 of file sbDeviceEventTesterRemoval.h.

char sbDeviceEventTesterRemovalHelper::mName
protected

Definition at line 109 of file sbDeviceEventTesterRemoval.h.


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