Classes | |
class | RefPtr< T > |
Wrapper class which maintains a strong reference to a cocos2dx cocos2d::Ref* type object. More... | |
Namespaces | |
cocos2d | |
Add deprecated global functions and variables here. | |
Macros | |
#define | CC_REF_PTR_SAFE_RETAIN(ptr) |
Utility/support macros. More... | |
#define | CC_REF_PTR_SAFE_RELEASE(ptr) |
#define | CC_REF_PTR_SAFE_RELEASE_NULL(ptr) |
Functions | |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types statically. More... | |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types dynamically. More... | |
#define CC_REF_PTR_SAFE_RELEASE | ( | ptr | ) |
var CC_REF_PTR_SAFE_RELEASE | ( | var | ) |
local CC_REF_PTR_SAFE_RELEASE | ( | local | ) |
#define CC_REF_PTR_SAFE_RELEASE_NULL |
( | ptr | ) |
var CC_REF_PTR_SAFE_RELEASE_NULL | ( | var | ) |
local CC_REF_PTR_SAFE_RELEASE_NULL | ( | local | ) |
#define CC_REF_PTR_SAFE_RETAIN | ( | ptr | ) |
Utility/support macros.
Defined to enable RefPtr<T> to contain types like 'const T' because we do not regard retain()/release() as affecting mutability of state.
var CC_REF_PTR_SAFE_RETAIN | ( | var | ) |
Utility/support macros.
Defined to enable RefPtr<T> to contain types like 'const T' because we do not regard retain()/release() as affecting mutability of state.
local CC_REF_PTR_SAFE_RETAIN | ( | local | ) |
Utility/support macros.
Defined to enable RefPtr<T> to contain types like 'const T' because we do not regard retain()/release() as affecting mutability of state.