cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Invocation Class Reference

#include <CCInvocation.h>

Inheritance diagram for Invocation:
Ref

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 RefgetTarget (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...
 
Refautorelease ()
 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 Invocationcreate (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...
 

Constructor & Destructor Documentation

Invocation ( Ref target,
Control::Handler  action,
Control::EventType  controlEvent 
)

Member Function Documentation

static Invocation* create ( Ref target,
Control::Handler  action,
Control::EventType  controlEvent 
)
static
virtual Control::Handler getAction ( void  )
virtual

getAction

var getAction (   )
virtual

getAction

local getAction (   )
virtual

getAction

virtual Control::EventType
getControlEvent
( void  )
virtual

getControlEvent

var getControlEvent (   )
virtual

getControlEvent

local getControlEvent (   )
virtual

getControlEvent

virtual Ref* getTarget ( void  )
virtual

getTarget

var getTarget (   )
virtual

getTarget

local getTarget (   )
virtual

getTarget

void invoke ( Ref sender)

Member Data Documentation

Control::Handler _action
protected
var _action
protected
local _action
protected
Control::EventType _controlEvent
protected
var _controlEvent
protected
local _controlEvent
protected
Ref* _target
protected
var _target
protected
local _target
protected

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