ompl::tools::PlannerMonitor Class Reference

Monitor the properties a planner exposes, as the planner is running. Dump the planner properties to a stream, periodically. More...

#include <ompl/tools/debug/PlannerMonitor.h>

List of all members.

Public Member Functions

 PlannerMonitor (const base::PlannerPtr &planner, std::ostream &out, double period=0.5, bool autoStart=true)
 Monitor a planner instance, and dump its properties to a specified stream, periodically.
 ~PlannerMonitor ()
 Destructor.
void startMonitor ()
 Start the monitoring thread.
void stopMonitor ()
 Stop the monitoring thread (automatically stopped by the destructor).

Detailed Description

Monitor the properties a planner exposes, as the planner is running. Dump the planner properties to a stream, periodically.

Definition at line 53 of file PlannerMonitor.h.


Constructor & Destructor Documentation

ompl::tools::PlannerMonitor::PlannerMonitor ( const base::PlannerPtr planner,
std::ostream &  out,
double  period = 0.5,
bool  autoStart = true 
) [inline]

Monitor a planner instance, and dump its properties to a specified stream, periodically.

Every time the properties are dumped, the stream offset is set to 0. It is often useful to have the stream be a file, and then issue commands such as 'watch cat filename'.

Definition at line 61 of file PlannerMonitor.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines