|
PuzzleSDK
|
#include <NewRendererTest.h>
类 SpriteCreation 继承关系图:
SpriteCreation 的协作图:Public 成员函数 | |
| CREATE_FUNC (SpriteCreation) | |
| virtual std::string | title () const override |
| virtual std::string | subtitle () const override |
| void | addSpritesCallback (Ref *) |
| void | delSpritesCallback (Ref *) |
| void | updateSpriteCountLabel (int x) |
| void | doTest () |
Public 成员函数 继承自 TestCase | |
| TestCase () | |
| ~TestCase () | |
| virtual Type | getTestType () const |
| virtual float | getDuration () const |
| virtual std::string | getExpectedOutput () const |
| virtual std::string | getActualOutput () const |
| virtual void | restartTestCallback (cocos2d::Ref *sender) |
| virtual void | nextTestCallback (cocos2d::Ref *sender) |
| virtual void | priorTestCallback (cocos2d::Ref *sender) |
| virtual void | onBackCallback (cocos2d::Ref *sender) |
| void | setTestSuite (TestSuite *testSuite) |
| TestSuite * | getTestSuite () const |
| float | getRunTime () const |
| void | setTestCaseName (const std::string &name) |
| std::string | getTestCaseName () const |
| const cocos2d::Label * | getSubtitleLable () const |
| const cocos2d::MenuItemImage * | getRestartTestItem () const |
| virtual void | onEnter () override |
Protected 成员函数 | |
| SpriteCreation () | |
| virtual | ~SpriteCreation () |
Protected 属性 | |
| int | totalSprites = 1000 |
| int | suggestDelta = 100 |
| cocos2d::Label * | _labelSpriteNum = nullptr |
| cocos2d::Label * | labelCreate = nullptr |
| cocos2d::Label * | labelDestory = nullptr |
Protected 属性 继承自 TestCase | |
| cocos2d::MenuItemImage * | _priorTestItem |
| cocos2d::MenuItemImage * | _restartTestItem |
| cocos2d::MenuItemImage * | _nextTestItem |
| cocos2d::Label * | _titleLabel |
| cocos2d::Label * | _subtitleLabel |
额外继承的成员函数 | |
Public 类型 继承自 TestCase | |
| enum class | Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL } |
Public 属性 继承自 TestCase | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: virtual bool init() override |
在文件 NewRendererTest.h 第 126 行定义.
|
protected |
在文件 NewRendererTest.cpp 第 423 行定义.
引用了 _labelSpriteNum, addSpritesCallback(), delSpritesCallback(), doTest(), labelCreate, labelDestory, totalSprites , 以及 updateSpriteCountLabel().
函数调用图:
|
protectedvirtual |
在文件 NewRendererTest.cpp 第 564 行定义.
| void SpriteCreation::addSpritesCallback | ( | Ref * | ) |
在文件 NewRendererTest.cpp 第 552 行定义.
引用了 doTest(), suggestDelta, totalSprites , 以及 updateSpriteCountLabel().
被这些函数引用 SpriteCreation().
函数调用图:
这是这个函数的调用关系图:| SpriteCreation::CREATE_FUNC | ( | SpriteCreation | ) |
| void SpriteCreation::delSpritesCallback | ( | Ref * | ) |
在文件 NewRendererTest.cpp 第 558 行定义.
引用了 doTest(), suggestDelta, totalSprites , 以及 updateSpriteCountLabel().
被这些函数引用 SpriteCreation().
函数调用图:
这是这个函数的调用关系图:| void SpriteCreation::doTest | ( | ) |
在文件 NewRendererTest.cpp 第 475 行定义.
引用了 DurationRecorder::endTick(), KEY_CREATION, KEY_DESTROYATION, labelCreate, labelDestory, DurationRecorder::startTick(), suggestDelta , 以及 totalSprites.
被这些函数引用 addSpritesCallback(), delSpritesCallback() , 以及 SpriteCreation().
函数调用图:
这是这个函数的调用关系图:
|
overridevirtual |
重载 MultiSceneTest .
在文件 NewRendererTest.cpp 第 574 行定义.
|
overridevirtual |
| void SpriteCreation::updateSpriteCountLabel | ( | int | x | ) |
在文件 NewRendererTest.cpp 第 467 行定义.
引用了 _labelSpriteNum , 以及 totalSprites.
被这些函数引用 addSpritesCallback(), delSpritesCallback() , 以及 SpriteCreation().
这是这个函数的调用关系图:
|
protected |
在文件 NewRendererTest.h 第 143 行定义.
被这些函数引用 SpriteCreation() , 以及 updateSpriteCountLabel().
|
protected |
在文件 NewRendererTest.h 第 144 行定义.
被这些函数引用 doTest() , 以及 SpriteCreation().
|
protected |
在文件 NewRendererTest.h 第 145 行定义.
被这些函数引用 doTest() , 以及 SpriteCreation().
|
protected |
在文件 NewRendererTest.h 第 142 行定义.
被这些函数引用 addSpritesCallback(), delSpritesCallback() , 以及 doTest().
|
protected |
在文件 NewRendererTest.h 第 141 行定义.
被这些函数引用 addSpritesCallback(), delSpritesCallback(), doTest(), SpriteCreation() , 以及 updateSpriteCountLabel().