Go to the documentation of this file. 1 #ifndef BT_FILE_LOGGER_H
2 #define BT_FILE_LOGGER_H
14 FileLogger(
const Tree& tree,
const char* filename, uint16_t buffer_size = 10);
21 virtual void flush()
override;
26 std::chrono::high_resolution_clock::time_point
start_time;
28 std::vector<SerializedTransition>
buffer_;
35 #endif // BT_FILE_LOGGER_H
std::chrono::high_resolution_clock::time_point start_time
Abstract base class for Behavior Tree Nodes.
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
virtual ~FileLogger() override
FileLogger(const Tree &tree, const char *filename, uint16_t buffer_size=10)
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
std::chrono::high_resolution_clock::duration Duration
virtual void flush() override
std::vector< SerializedTransition > buffer_
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Wed Jun 26 2024 02:51:19