Go to the documentation of this file.
57 void flush()
override;
61 std::unique_ptr<PImpl>
_p;
Abstract base class for Behavior Tree Nodes.
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
std::chrono::high_resolution_clock::duration Duration
virtual ~FileLogger2() override
std::unique_ptr< PImpl > _p
The FileLogger2 is a logger that saves the tree as XML and all the transitions. Data is written to fi...
FileLogger2(const Tree &tree, std::filesystem::path const &filepath)
To correctly read this log with Groot2, you must use the suffix ".btlog". Constructor will throw othe...
FileLogger2 & operator=(const FileLogger2 &other)=delete
void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override