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

Method init

tutorial/MyGNode/MyShowAddressNode.h:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class MyShowAddressNode : public CGraph::GNode {
16public:
17 CStatus init() override {
18 CStatus status = CGRAPH_CREATE_GPARAM(MyParam, "param2")
19 return status;
20 }
21
22 CStatus run() override {
23 auto myParam = CGRAPH_GET_GPARAM(MyParam, "param2")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected