MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / init

Method init

tutorial/MyGNode/MyNode2.h:18–22  ·  view source on GitHub ↗

执行过程中,init 和 destroy 方法,单次执行,可选择性实现 run 方法可以多次执行,且必须实现

Source from the content-addressed store, hash-verified

16 // 执行过程中,init 和 destroy 方法,单次执行,可选择性实现
17 // run 方法可以多次执行,且必须实现
18 CStatus init() override {
19 CStatus status;
20 CGraph::CGRAPH_ECHO("[INIT] [%s], enter MyNode2 init function.", this->getName().c_str());
21 return status;
22 }
23
24 CStatus run() override {
25 CStatus status;

Callers 5

tutorial_cancelFunction · 0.45
tutorial_conditionFunction · 0.45
tutorial_simpleFunction · 0.45
tutorial_paramFunction · 0.45
tutorial_suspendFunction · 0.45

Calls 1

CGRAPH_ECHOFunction · 0.85

Tested by

no test coverage detected