ompl::control::PlannerDataEdgeControl Class Reference

Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control. More...

#include <ompl/control/PlannerData.h>

Inheritance diagram for ompl::control::PlannerDataEdgeControl:

List of all members.

Public Member Functions

 PlannerDataEdgeControl (const Control *c, double duration)
 Constructor. Accepts a control pointer and a duration.
 PlannerDataEdgeControl (const PlannerDataEdgeControl &rhs)
 Copy constructor.
virtual base::PlannerDataEdgeclone () const
 Return a clone of this object, allocated from the heap.
const ControlgetControl () const
 Return the control associated with this edge.
double getDuration () const
 Return the duration associated with this edge.
virtual bool operator== (const PlannerDataEdge &rhs) const

Protected Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)

Protected Attributes

const Controlc_
double duration_

Friends

class boost::serialization::access
class PlannerDataStorage
class PlannerData

Detailed Description

Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control.

Remarks:
If using PlannerDataEdgeControl in conjunction with PlannerDataStorage, (i.e., storing the PlannerData from a controls planner) you must export a GUID for PlannerDataEdgeControl so that the serializer can identify the derived edge class:
 #include <boost/serialization/export.hpp>
 ...
 BOOST_CLASS_EXPORT(ompl::control::PlannerDataEdgeControl);

Definition at line 60 of file PlannerData.h.


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