MCPcopy Create free account
hub / github.com/colmap/colmap / FunctionThread

Method FunctionThread

src/colmap/ui/thread_control_widget.cc:101–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 class FunctionThread : public Thread {
100 public:
101 explicit FunctionThread(const std::function<void()>& f) : func_(f) {}
102
103 private:
104 void Run() { func_(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected