MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / tick

Method tick

examples/t19_polymorphic_ports.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 {}
109
110 NodeStatus tick() override
111 {
112 auto animal = getInput<Animal::Ptr>("animal").value();
113 std::cout << "Hi! I am a " << animal->name() << std::endl;
114 return NodeStatus::SUCCESS;
115 }
116
117 static PortsList providedPorts()
118 {

Callers

nothing calls this directly

Calls 2

valueMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected