MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / ~FileLogger2

Method ~FileLogger2

src/loggers/bt_file_logger_v2.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95FileLogger2::~FileLogger2()
96{
97 _p->loop = false;
98 _p->queue_cv.notify_one();
99 _p->writer_thread.join();
100 _p->file_stream.close();
101}
102
103void FileLogger2::callback(Duration timestamp, const TreeNode& node,
104 NodeStatus /*prev_status*/, NodeStatus status)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected