MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / OnDataNodeCB

Method OnDataNodeCB

samples/sample2/Sample2Module.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34int Sample2Module::OnDataNodeCB(
35 const AFGUID& self, const std::string& name, const AFIData& old_var, const AFIData& new_var)
36{
37 std::cout << "OnDataNodeCB DataNode: " << name << " Old value: " << old_var.GetInt()
38 << " New value: " << new_var.GetInt() << std::endl;
39 return 0;
40}
41
42bool Sample2Module::PostInit()
43{

Callers

nothing calls this directly

Calls 1

GetIntMethod · 0.80

Tested by

no test coverage detected