cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCKeypadDispatcher Class Reference

Dispatch the keypad message from the phone NA NA. More...

#include <CCKeypadDispatcher.h>

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

Public Member Functions

 CCKeypadDispatcher ()
 
 ~CCKeypadDispatcher ()
 
void addDelegate (CCKeypadDelegate *pDelegate)
 add delegate to concern keypad msg More...
 
void removeDelegate (CCKeypadDelegate *pDelegate)
 remove the delegate from the delegates who concern keypad msg More...
 
void forceAddDelegate (CCKeypadDelegate *pDelegate)
 force add the delegate More...
 
void forceRemoveDelegate (CCKeypadDelegate *pDelegate)
 force remove the delegate More...
 
bool dispatchKeypadMSG (ccKeypadMSGType nMsgType)
 dispatch the key pad msg More...
 
- Public Member Functions inherited from CCObject
 CCObject (void)
 
virtual ~CCObject (void)
 NA. More...
 
void release (void)
 
void retain (void)
 
CCObjectautorelease (void)
 
CCObjectcopy (void)
 
bool isSingleReference (void) const
 
unsigned int retainCount (void) const
 
virtual bool isEqual (const CCObject *pObject)
 
virtual void acceptVisitor (CCDataVisitor &visitor)
 
virtual void update (float dt)
 
 CCObject (const CCObject &)
 
CCObjectoperator= (const CCObject &)
 
virtual void encodeWithCoder (DS_Dictionary *)
 
virtual bool canEncode ()
 
CCObjectType getObjType () const
 
virtual int getTag () const
 
virtual void setTag (int nTag)
 
void setObjType (CCObjectType)
 
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)
 

Protected Attributes

CCArraym_pDelegates
 
bool m_bLocked
 
bool m_bToAdd
 
bool m_bToRemove
 
struct _ccCArray * m_pHandlersToAdd
 
struct _ccCArray * m_pHandlersToRemove
 
- Protected Attributes inherited from CCObject
unsigned int m_uReference
 
unsigned int m_uAutoReleaseCount
 
int m_nTag
 
int m_eObjType
 
unsigned int m_uObjectIdxInArray
 

Additional Inherited Members

- Static Public Member Functions inherited from CCObject
static CCObjectcreateWithCoder (DS_Dictionary *)
 
- Public Attributes inherited from CCObject
unsigned int m_uID
 
int m_nLuaID
 

Detailed Description

Dispatch the keypad message from the phone NA NA.

Constructor & Destructor Documentation

◆ CCKeypadDispatcher()

◆ ~CCKeypadDispatcher()

Member Function Documentation

◆ addDelegate()

void addDelegate ( CCKeypadDelegate pDelegate)

add delegate to concern keypad msg

◆ dispatchKeypadMSG()

bool dispatchKeypadMSG ( ccKeypadMSGType  nMsgType)

dispatch the key pad msg

◆ forceAddDelegate()

void forceAddDelegate ( CCKeypadDelegate pDelegate)

force add the delegate

◆ forceRemoveDelegate()

void forceRemoveDelegate ( CCKeypadDelegate pDelegate)

force remove the delegate

◆ removeDelegate()

void removeDelegate ( CCKeypadDelegate pDelegate)

remove the delegate from the delegates who concern keypad msg

Member Data Documentation

◆ m_bLocked

bool m_bLocked
protected

◆ m_bToAdd

bool m_bToAdd
protected

◆ m_bToRemove

bool m_bToRemove
protected

◆ m_pDelegates

CCArray* m_pDelegates
protected

◆ m_pHandlersToAdd

struct _ccCArray* m_pHandlersToAdd
protected

◆ m_pHandlersToRemove

struct _ccCArray* m_pHandlersToRemove
protected

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