PuzzleSDK
controller.cpp 文件参考
#include "controller.h"
#include <functional>
#include <chrono>
#include "BaseTest.h"
#include "tests.h"
#include <windows.h>
+ controller.cpp 的引用(Include)关系图:

浏览源代码.

class  RootTests
 

宏定义

#define TEST_TIME_OUT   50
 
#define CREATE_TIME_OUT   25
 
#define LOG_INDENTATION   " "
 
#define LOG_TAG   "[TestController]"
 

函数

static void initCrashCatch ()
 
static void disableCrashCatch ()
 
static long __stdcall windowExceptionFilter (_EXCEPTION_POINTERS *excp)
 

变量

 USING_NS_CC
 
static TestControllers_testController = nullptr
 

宏定义说明

◆ CREATE_TIME_OUT

#define CREATE_TIME_OUT   25

在文件 controller.cpp34 行定义.

◆ LOG_INDENTATION

#define LOG_INDENTATION   " "

在文件 controller.cpp35 行定义.

◆ LOG_TAG

#define LOG_TAG   "[TestController]"

在文件 controller.cpp36 行定义.

◆ TEST_TIME_OUT

#define TEST_TIME_OUT   50

在文件 controller.cpp33 行定义.

函数说明

◆ disableCrashCatch()

static void disableCrashCatch ( )
static

在文件 controller.cpp505 行定义.

506{
507 SetUnhandledExceptionFilter(UnhandledExceptionFilter);
508}

被这些函数引用 TestController::destroyInstance() , 以及 TestController::handleCrash().

+ 这是这个函数的调用关系图:

◆ initCrashCatch()

static void initCrashCatch ( )
static

在文件 controller.cpp501 行定义.

502{
503 SetUnhandledExceptionFilter(windowExceptionFilter);
504}
static long __stdcall windowExceptionFilter(_EXCEPTION_POINTERS *excp)
Definition: controller.cpp:491

引用了 windowExceptionFilter().

被这些函数引用 TestController::getInstance().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ windowExceptionFilter()

static long __stdcall windowExceptionFilter ( _EXCEPTION_POINTERS *  excp)
static

在文件 controller.cpp491 行定义.

492{
494 {
496 }
497
498 return EXCEPTION_EXECUTE_HANDLER;
499}
void handleCrash()
Definition: controller.cpp:409
static TestController * s_testController
Definition: controller.cpp:456

引用了 TestController::handleCrash() , 以及 s_testController.

被这些函数引用 initCrashCatch().

+ 函数调用图:
+ 这是这个函数的调用关系图:

变量说明

◆ s_testController

TestController* s_testController = nullptr
static

◆ USING_NS_CC

USING_NS_CC

在文件 controller.cpp31 行定义.