Base class of all kinds of events. More...
#include <CCEvent.h>
Public Member Functions | |
| virtual | ~Event () |
| Destructor. More... | |
| const std::string & | getType () const |
| Gets the event type. More... | |
| void | stopPropagation () |
| Stops propagation for current event. More... | |
| bool | isStopped () const |
| Checks whether the event has been stopped. More... | |
| Node * | getCurrentTarget () |
| Gets current target of the event. More... | |
Protected Member Functions | |
| Event (const std::string &type) | |
| Constructor. More... | |
| void | setCurrentTarget (Node *target) |
| Sets current target. More... | |
Protected Attributes | |
| std::string | _type |
| Event type. More... | |
| bool | _isStopped |
| whether the event has been stopped. More... | |
| Node * | _currentTarget |
| Current target. More... | |
| var | _currentTarget |
| Current target. More... | |
| local | _currentTarget |
| Current target. More... | |
Friends | |
| class | EventDispatcher |
Base class of all kinds of events.
|
protected |
Constructor.
|
protected |
Constructor.
|
protected |
Constructor.
|
virtual |
Destructor.
|
virtual |
Destructor.
|
virtual |
Destructor.
|
inline |
Gets current target of the event.
|
inline |
Gets current target of the event.
|
inline |
Gets current target of the event.
|
inline |
Gets the event type.
|
inline |
Gets the event type.
|
inline |
Gets the event type.
|
inline |
Checks whether the event has been stopped.
|
inline |
Checks whether the event has been stopped.
|
inline |
Checks whether the event has been stopped.
|
inlineprotected |
Sets current target.
|
inlineprotected |
Sets current target.
|
inlineprotected |
Sets current target.
|
inline |
Stops propagation for current event.
|
inline |
Stops propagation for current event.
|
inline |
Stops propagation for current event.
|
friend |
|
friend |
|
friend |
|
protected |
Current target.
|
protected |
Current target.
|
protected |
Current target.
|
protected |
whether the event has been stopped.
|
protected |
whether the event has been stopped.
|
protected |
whether the event has been stopped.
|
protected |
Event type.
|
protected |
Event type.
|
protected |
Event type.