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

#include <CCApplication.h>

Inheritance diagram for CCApplication:
CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol CCApplicationProtocol

Public Member Functions

 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector to limit FPS. More...
 
var setAnimationInterval ( var interval)
 Callback by CCDirector to limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector to limit FPS. More...
 
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
var setAnimationInterval ( var interval)
 Callback by CCDirector for limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector for limit FPS. More...
 
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
var getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
var getResourceRootPath ()
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
var setAnimationInterval ( var interval)
 Callback by CCDirector for limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector for limit FPS. More...
 
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
 CCApplication ()
virtual ~CCApplication ()
int run ()
 Run the message loop. More...
 
virtual void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
var setAnimationInterval ( var interval)
 Callback by CCDirector for limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector for limit FPS. More...
 
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
var getResourceRootPath ()
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
 CCApplication ()
 CCApplication ()
virtual ~CCApplication ()
var ~CCApplication ()
local ~CCApplication ()
virtual void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector for limit FPS. More...
 
int run ()
 Get status bar rectangle in EGLView window. More...
 
var run ()
 Get status bar rectangle in EGLView window. More...
 
local run ()
 Get status bar rectangle in EGLView window. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
void setStartupScriptFilename (const std::string &startupScriptFile)
var setStartupScriptFilename ( var startupScriptFile)
local setStartupScriptFilename ( local startupScriptFile)
const std::string & getStartupScriptFilename (void)
var getStartupScriptFilename ()
local getStartupScriptFilename ()
 CCApplication ()
virtual ~CCApplication ()
virtual bool applicationDidFinishLaunching ()=0
 Implement CCDirector and sense init code here. More...
 
local applicationDidFinishLaunching ()
 Implement CCDirector and sense init code here. More...
 
virtual void applicationDidEnterBackground ()=0
 The function be called when the application enter background. More...
 
var applicationDidEnterBackground ()
 The function be called when the application enter background. More...
 
local applicationDidEnterBackground ()
 The function be called when the application enter background. More...
 
virtual void applicationWillEnterForeground ()=0
 The function be called when the application enter foreground. More...
 
var applicationWillEnterForeground ()
 The function be called when the application enter foreground. More...
 
local applicationWillEnterForeground ()
 The function be called when the application enter foreground. More...
 
void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
virtual int Run ()
 Run the message loop. More...
 
void ccAccelerationUpdate ()
var ccAccelerationUpdate ()
local ccAccelerationUpdate ()
ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
virtual ~CCApplication ()
void setAnimationInterval (double interval)
 Callback by CCDirector to limit FPS. More...
 
var setAnimationInterval ( var interval)
 Callback by CCDirector to limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector to limit FPS. More...
 
long getAnimationInterval ()
int run ()
 Run the message loop. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
local getTargetPlatform ()
 Get target platform. More...
 
 CCApplication ()
virtual ~CCApplication ()
virtual int run ()
 Run the message loop. More...
 
local run ()
 Run the message loop. More...
 
virtual void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
void setStartupScriptFilename (const std::string &startupScriptFile)
const std::string & getStartupScriptFilename (void)
 CCApplication ()
virtual ~CCApplication ()
int run ()
 Run the message loop. More...
 
local run ()
 Run the message loop. More...
 
virtual void setAnimationInterval (double interval)
 Callback by CCDirector for limit FPS. More...
 
local setAnimationInterval ( local interval)
 Callback by CCDirector for limit FPS. More...
 
virtual ccLanguageType getCurrentLanguage ()
 Get current language config. More...
 
local getCurrentLanguage ()
 Get current language config. More...
 
virtual TargetPlatform getTargetPlatform ()
 Get target platform. More...
 
CC_DEPRECATED_ATTRIBUTE void setResourceRootPath (const std::string &rootResDir)
 Sets the Resource root path. More...
 
local setResourceRootPath ( local rootResDir)
 Sets the Resource root path. More...
 
CC_DEPRECATED_ATTRIBUTE const
std::string & 
getResourceRootPath (void)
 Gets the Resource root path. More...
 
local getResourceRootPath ()
 Gets the Resource root path. More...
 
void setStartupScriptFilename (const std::string &startupScriptFile)
const std::string & getStartupScriptFilename (void)
local getStartupScriptFilename ()
- Public Member Functions inherited from CCApplicationProtocol
virtual ~CCApplicationProtocol ()

Static Public Member Functions

static CCApplicationsharedApplication ()
 Get current application instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get the current application instance. More...
 
local sharedApplication ()
 Get the current application instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
var sharedApplication ()
 Get current applicaiton instance. More...
 
local sharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
var sharedApplication ()
 Get current applicaiton instance. More...
 
local sharedApplication ()
 Get current applicaiton instance. More...
 
static bool isRunning ()
static CCApplicationsharedApplication ()
 Get current application instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
var sharedApplication ()
 Get current applicaiton instance. More...
 
local sharedApplication ()
 Get current applicaiton instance. More...
 
static CCApplicationsharedApplication ()
 Get current applicaiton instance. More...
 
var sharedApplication ()
 Get current applicaiton instance. More...
 
local sharedApplication ()
 Get current applicaiton instance. More...
 

Protected Attributes

std::string m_resourceRootPath
long m_nAnimationInterval
std::string m_startupScriptFilename
var m_startupScriptFilename
local m_startupScriptFilename
uint64 m_nAnimationInterval
HINSTANCE m_hInstance
HACCEL m_hAccelTable
LARGE_INTEGER m_nAnimationInterval
var m_nAnimationInterval
local m_nAnimationInterval

Static Protected Attributes

static CCApplicationsm_pSharedApplication
var sm_pSharedApplication
local sm_pSharedApplication
static long m_animationInterval
static bool s_running
local s_running
static long m_nAnimationInterval
local m_nAnimationInterval

Constructor & Destructor Documentation

var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual
var CCApplication ( )
local CCApplication ( )
virtual ~CCApplication ( )
virtual
var ~CCApplication ( )
virtual
local ~CCApplication ( )
virtual

Member Function Documentation

virtual void
applicationDidEnterBackground
( )
pure virtual

The function be called when the application enter background.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

var applicationDidEnterBackground ( )
pure virtual

The function be called when the application enter background.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

local applicationDidEnterBackground ( )
pure virtual

The function be called when the application enter background.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

virtual bool
applicationDidFinishLaunching
( )
pure virtual

Implement CCDirector and sense init code here.

Returns
true Initialize success, app continue.
false Initialize failed, app terminate.

Implements CCApplicationProtocol.

var applicationDidFinishLaunching ( )
pure virtual

Implement CCDirector and sense init code here.

Returns
true Initialize success, app continue.
false Initialize failed, app terminate.

Implements CCApplicationProtocol.

local applicationDidFinishLaunching ( )
pure virtual

Implement CCDirector and sense init code here.

Returns
true Initialize success, app continue.
false Initialize failed, app terminate.

Implements CCApplicationProtocol.

virtual void
applicationWillEnterForeground
( )
pure virtual

The function be called when the application enter foreground.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

var applicationWillEnterForeground ( )
pure virtual

The function be called when the application enter foreground.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

local
applicationWillEnterForeground
( )
pure virtual

The function be called when the application enter foreground.

Parameters
thepointer of the application

Implements CCApplicationProtocol.

void ccAccelerationUpdate ( )
var ccAccelerationUpdate ( )
local ccAccelerationUpdate ( )
long getAnimationInterval ( )
var getAnimationInterval ( )
local getAnimationInterval ( )
virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

virtual ccLanguageType
getCurrentLanguage
( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

ccLanguageType getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

var getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

local getCurrentLanguage ( )
virtual

Get current language config.

Returns
Current language config

Implements CCApplicationProtocol.

CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE const
std::string&
getResourceRootPath
( void  )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
var getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
local getResourceRootPath (   )

Gets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.
const std::string&
getStartupScriptFilename
( void  )
inline
var getStartupScriptFilename (   )
inline
local getStartupScriptFilename (   )
inline
const std::string&
getStartupScriptFilename
( void  )
inline
var getStartupScriptFilename (   )
inline
local getStartupScriptFilename (   )
inline
const std::string&
getStartupScriptFilename
( void  )
var getStartupScriptFilename (   )
local getStartupScriptFilename (   )
virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

virtual TargetPlatform
getTargetPlatform
( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

TargetPlatform getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

var getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

local getTargetPlatform ( )
virtual

Get target platform.

Implements CCApplicationProtocol.

static bool isRunning ( )
inlinestatic
var isRunning ( )
inlinestatic
local isRunning ( )
inlinestatic
virtual int run ( )
virtual

Run the message loop.

var run ( )
virtual

Run the message loop.

local run ( )
virtual

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

int run ( )

Run the message loop.

int run ( )

Get status bar rectangle in EGLView window.

Run the message loop.

var run ( )

Get status bar rectangle in EGLView window.

Run the message loop.

local run ( )

Get status bar rectangle in EGLView window.

Run the message loop.

int run ( )

Run the message loop.

var run ( )

Run the message loop.

local run ( )

Run the message loop.

virtual int Run ( )
virtual

Run the message loop.

var Run ( )
virtual

Run the message loop.

local Run ( )
virtual

Run the message loop.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

virtual void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

virtual void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, which expressed in second in second, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector to limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

virtual void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

virtual void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

void setAnimationInterval ( double  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

var setAnimationInterval ( var  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

local setAnimationInterval ( local  interval)
virtual

Callback by CCDirector for limit FPS.

The time, expressed in seconds, between current frame and next.

Implements CCApplicationProtocol.

CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
CC_DEPRECATED_ATTRIBUTE void
setResourceRootPath
( const std::string &  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
var setResourceRootPath ( var  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
local setResourceRootPath ( local  rootResDir)

Sets the Resource root path.

Deprecated:
Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.
void setStartupScriptFilename ( const std::string &  startupScriptFile)
var setStartupScriptFilename ( var  startupScriptFile)
local setStartupScriptFilename ( local  startupScriptFile)
void setStartupScriptFilename ( const std::string &  startupScriptFile)
var setStartupScriptFilename ( var  startupScriptFile)
local setStartupScriptFilename ( local  startupScriptFile)
void setStartupScriptFilename ( const std::string &  startupScriptFile)
var setStartupScriptFilename ( var  startupScriptFile)
local setStartupScriptFilename ( local  startupScriptFile)
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current application instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current application instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current application instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get the current application instance.

Returns
Current application instance pointer.
var getInstance ( )
static

Get the current application instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get the current application instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current application instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current application instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current application instance.

Returns
Current application instance pointer.
static CCApplication*
sharedApplication
( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
var sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.
local sharedApplication ( )
static

Get current applicaiton instance.

Returns
Current application instance pointer.

Member Data Documentation

static long m_animationInterval
staticprotected
var m_animationInterval
staticprotected
local m_animationInterval
staticprotected
HACCEL m_hAccelTable
protected
var m_hAccelTable
protected
local m_hAccelTable
protected
HINSTANCE m_hInstance
protected
var m_hInstance
protected
local m_hInstance
protected
LARGE_INTEGER m_nAnimationInterval
protected
var m_nAnimationInterval
protected
local m_nAnimationInterval
protected
LARGE_INTEGER m_nAnimationInterval
protected
var m_nAnimationInterval
protected
local m_nAnimationInterval
protected
long m_nAnimationInterval
staticprotected
var m_nAnimationInterval
staticprotected
local m_nAnimationInterval
staticprotected
uint64 m_nAnimationInterval
protected
var m_nAnimationInterval
protected
local m_nAnimationInterval
protected
std::string m_resourceRootPath
protected
var m_resourceRootPath
protected
local m_resourceRootPath
protected
std::string m_startupScriptFilename
protected
var m_startupScriptFilename
protected
local m_startupScriptFilename
protected
bool s_running
staticprotected
var s_running
staticprotected
local s_running
staticprotected
static CCApplication
* sm_pSharedApplication
staticprotected
var sm_pSharedApplication
staticprotected
local sm_pSharedApplication
staticprotected

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