cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCObject.h File Reference
#include "CCDataVisitor.h"
#include "ccMacros.h"

Classes

class  Clonable
 Interface that defines how to clone an object. More...
 
class  Object
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 

Macros

#define schedule_selector(_SELECTOR)   static_cast<cocos2d::SEL_SCHEDULE>(&_SELECTOR)
#define callfunc_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFunc>(&_SELECTOR)
#define callfuncN_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncN>(&_SELECTOR)
#define callfuncND_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncND>(&_SELECTOR)
#define callfuncO_selector(_SELECTOR)   static_cast<cocos2d::SEL_CallFuncO>(&_SELECTOR)
#define menu_selector(_SELECTOR)   static_cast<cocos2d::SEL_MenuHandler>(&_SELECTOR)
#define event_selector(_SELECTOR)   static_cast<cocos2d::SEL_EventHandler>(&_SELECTOR)
#define compare_selector(_SELECTOR)   static_cast<cocos2d::SEL_Compare>(&_SELECTOR)
#define CC_CALLBACK_0(__selector__, __target__,...)   std::bind(&__selector__,__target__, ##__VA_ARGS__)
#define CC_CALLBACK_1(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, ##__VA_ARGS__)
#define CC_CALLBACK_2(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, ##__VA_ARGS__)
#define CC_CALLBACK_3(__selector__, __target__,...)   std::bind(&__selector__,__target__, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3 ##__VA_ARGS__)

Typedefs

typedef void(Object::* SEL_SCHEDULE )(float)
typedef void(Object::* SEL_CallFunc )()
typedef void(Object::* SEL_CallFuncN )(Node *)
typedef void(Object::* SEL_CallFuncND )(Node *, void *)
typedef void(Object::* SEL_CallFuncO )(Object *)
typedef void(Object::* SEL_MenuHandler )(Object *)
typedef int(Object::* SEL_Compare )(Object *)