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

#include <CCActionTimelineCache.h>

Inheritance diagram for ActionTimelineCache:
CCObject CCCopying

Public Member Functions

virtual ~ActionTimelineCache ()
void purge ()
void init ()
void removeAction (const std::string &fileName)
 Remove action with filename, and also remove other resource relate with this file. More...
 
ActionTimelinecreateAction (const std::string &fileName)
 Clone a action with the specified name from the container. More...
 
ActionTimelineloadAnimationActionWithFile (const std::string &fileName)
ActionTimelineloadAnimationActionWithContent (const std::string &fileName, const std::string &content)
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static ActionTimelineCachegetInstance ()
 Gets the singleton. More...
 
local getInstance ()
 Gets the singleton. More...
 
static void destroyInstance ()
 Destroys the singleton. More...
 
var destroyInstance ()
 Destroys the singleton. More...
 
local destroyInstance ()
 Destroys the singleton. More...
 

Protected Member Functions

TimelineloadTimeline (const rapidjson::Value &json)
FrameloadVisibleFrame (const rapidjson::Value &json)
local loadVisibleFrame ( local json)
FrameloadPositionFrame (const rapidjson::Value &json)
FrameloadScaleFrame (const rapidjson::Value &json)
FrameloadSkewFrame (const rapidjson::Value &json)
FrameloadRotationSkewFrame (const rapidjson::Value &json)
local loadRotationSkewFrame ( local json)
FrameloadRotationFrame (const rapidjson::Value &json)
FrameloadAnchorPointFrame (const rapidjson::Value &json)
FrameloadInnerActionFrame (const rapidjson::Value &json)
FrameloadColorFrame (const rapidjson::Value &json)
FrameloadTextureFrame (const rapidjson::Value &json)
FrameloadEventFrame (const rapidjson::Value &json)
FrameloadZOrderFrame (const rapidjson::Value &json)

Protected Attributes

cocos2d::CCDictionary_funcs
cocos2d::CCDictionary_timelineActions
var _timelineActions
local _timelineActions
- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Additional Inherited Members

- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Constructor & Destructor Documentation

virtual ~ActionTimelineCache ( )
virtual
var ~ActionTimelineCache ( )
virtual
local ~ActionTimelineCache ( )
virtual

Member Function Documentation

ActionTimeline* createAction ( const std::string &  fileName)

Clone a action with the specified name from the container.

var createAction ( var  fileName)

Clone a action with the specified name from the container.

local createAction ( local  fileName)

Clone a action with the specified name from the container.

static void destroyInstance ( )
static

Destroys the singleton.

var destroyInstance ( )
static

Destroys the singleton.

local destroyInstance ( )
static

Destroys the singleton.

static ActionTimelineCache*
getInstance
( )
static

Gets the singleton.

var getInstance ( )
static

Gets the singleton.

local getInstance ( )
static

Gets the singleton.

void init ( )
var init ( )
local init ( )
Frame* loadAnchorPointFrame ( const rapidjson::Value json)
protected
var loadAnchorPointFrame ( var  json)
protected
local loadAnchorPointFrame ( local  json)
protected
ActionTimeline*
loadAnimationActionWithContent
( const std::string &  fileName,
const std::string &  content 
)
var loadAnimationActionWithContent ( var  fileName,
var  content 
)
local
loadAnimationActionWithContent
( local  fileName,
local  content 
)
ActionTimeline*
loadAnimationActionWithFile
( const std::string &  fileName)
var loadAnimationActionWithFile ( var  fileName)
local loadAnimationActionWithFile ( local  fileName)
Frame* loadColorFrame ( const rapidjson::Value json)
protected
var loadColorFrame ( var  json)
protected
local loadColorFrame ( local  json)
protected
Frame* loadEventFrame ( const rapidjson::Value json)
protected
var loadEventFrame ( var  json)
protected
local loadEventFrame ( local  json)
protected
Frame* loadInnerActionFrame ( const rapidjson::Value json)
protected
var loadInnerActionFrame ( var  json)
protected
local loadInnerActionFrame ( local  json)
protected
Frame* loadPositionFrame ( const rapidjson::Value json)
protected
var loadPositionFrame ( var  json)
protected
local loadPositionFrame ( local  json)
protected
Frame* loadRotationFrame ( const rapidjson::Value json)
protected
var loadRotationFrame ( var  json)
protected
local loadRotationFrame ( local  json)
protected
Frame* loadRotationSkewFrame ( const rapidjson::Value json)
protected
var loadRotationSkewFrame ( var  json)
protected
local loadRotationSkewFrame ( local  json)
protected
Frame* loadScaleFrame ( const rapidjson::Value json)
protected
var loadScaleFrame ( var  json)
protected
local loadScaleFrame ( local  json)
protected
Frame* loadSkewFrame ( const rapidjson::Value json)
protected
var loadSkewFrame ( var  json)
protected
local loadSkewFrame ( local  json)
protected
Frame* loadTextureFrame ( const rapidjson::Value json)
protected
var loadTextureFrame ( var  json)
protected
local loadTextureFrame ( local  json)
protected
Timeline* loadTimeline ( const rapidjson::Value json)
protected
var loadTimeline ( var  json)
protected
local loadTimeline ( local  json)
protected
Frame* loadVisibleFrame ( const rapidjson::Value json)
protected
var loadVisibleFrame ( var  json)
protected
local loadVisibleFrame ( local  json)
protected
Frame* loadZOrderFrame ( const rapidjson::Value json)
protected
var loadZOrderFrame ( var  json)
protected
local loadZOrderFrame ( local  json)
protected
void purge ( )
var purge ( )
local purge ( )
void removeAction ( const std::string &  fileName)

Remove action with filename, and also remove other resource relate with this file.

var removeAction ( var  fileName)

Remove action with filename, and also remove other resource relate with this file.

local removeAction ( local  fileName)

Remove action with filename, and also remove other resource relate with this file.

Member Data Documentation

cocos2d::CCDictionary* _funcs
protected
var _funcs
protected
local _funcs
protected
cocos2d::CCDictionary*
_timelineActions
protected
var _timelineActions
protected
local _timelineActions
protected

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