#include <CCInvocation.h>
Public Member Functions | |
Invocation (Ref *target, Control::Handler action, Control::EventType controlEvent) | |
void | invoke (Ref *sender) |
virtual Control::Handler | getAction (void) |
getAction More... | |
local | getAction () |
getAction More... | |
virtual Ref * | getTarget (void) |
getTarget More... | |
virtual Control::EventType | getControlEvent (void) |
getControlEvent More... | |
local | getControlEvent () |
getControlEvent More... | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Static Public Member Functions | |
static Invocation * | create (Ref *target, Control::Handler action, Control::EventType controlEvent) |
Protected Attributes | |
Control::Handler | _action |
local | _action |
Ref * | _target |
Control::EventType | _controlEvent |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Invocation | ( | Ref * | target, |
Control::Handler | action, | ||
Control::EventType | controlEvent | ||
) |
|
static |
|
virtual |
getAction
|
virtual |
getAction
|
virtual |
getAction
|
virtual |
getControlEvent
|
virtual |
getControlEvent
|
virtual |
getControlEvent
|
virtual |
getTarget
|
virtual |
getTarget
|
virtual |
getTarget
void invoke | ( | Ref * | sender | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |