37 #ifndef OMPL_TOOLS_DEBUG_PLANNER_MONITOR_
38 #define OMPL_TOOLS_DEBUG_PLANNER_MONITOR_
41 #include <boost/scoped_ptr.hpp>
45 #include "ompl/base/Planner.h"
57 PlannerMonitor(
const PlannerMonitor &) =
delete;
58 PlannerMonitor &operator=(
const PlannerMonitor &) =
delete;
64 PlannerMonitor(base::PlannerPtr planner, std::ostream &out,
double period = 0.5,
bool autoStart =
true)
65 : planner_(std::move(planner)), out_(out), period_(period), shouldMonitor_(false)
84 void threadFunction();
86 base::PlannerPtr planner_;
90 boost::scoped_ptr<std::thread> monitorThread_;