cocos2d-x  3.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventDispatcher::EventListenerVector Class Reference

The vector to store event listeners with scene graph based priority and fixed priority. More...

#include <CCEventDispatcher.h>

Public Member Functions

 EventListenerVector ()
 ~EventListenerVector ()
size_t size () const
bool empty () const
void push_back (EventListener *item)
void clearSceneGraphListeners ()
void clearFixedListeners ()
void clear ()
std::vector< EventListener * > * getFixedPriorityListeners () const
std::vector< EventListener * > * getSceneGraphPriorityListeners () const
ssize_t getGt0Index () const
void setGt0Index (ssize_t index)

Detailed Description

The vector to store event listeners with scene graph based priority and fixed priority.

Constructor & Destructor Documentation

Member Function Documentation

void clear ( )
void clearFixedListeners ( )
void clearSceneGraphListeners ( )
bool empty ( ) const
std::vector<EventListener*>
* getFixedPriorityListeners
( ) const
inline
ssize_t getGt0Index ( ) const
inline
std::vector<EventListener*>
* getSceneGraphPriorityListeners
( ) const
inline
void push_back ( EventListener item)
void setGt0Index ( ssize_t  index)
inline
size_t size ( ) const

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