MCPcopy Create free account
hub / github.com/MIT-SPARK/Kimera-VIO / hasWork

Method hasWork

src/visualizer/Visualizer3DModule.cpp:81–88  ·  view source on GitHub ↗

Checks if the module has work to do (should check input queues are empty)

Source from the content-addressed store, hash-verified

79
80//! Checks if the module has work to do (should check input queues are empty)
81bool VisualizerModule::hasWork() const {
82 LOG_IF(WARNING, mesher_queue_.empty() && !backend_queue_.empty())
83 << "Mesher queue is empty, yet backend queue is not!"
84 "This should not happen since Mesher runs at Backend pace!";
85 // We don't check frontend queue because it runs faster than the other two
86 // queues.
87 return !mesher_queue_.empty();
88};
89
90} // namespace VIO

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected