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 <PlannerData.h>
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::PlannerDataEdge * | clone () const |
Return a clone of this object, allocated from the heap. | |
const Control * | getControl (void) const |
Return the control associated with this edge. | |
double | getDuration (void) const |
Return the duration associated with this edge. | |
virtual bool | operator== (const PlannerDataEdge &rhs) const |
![]() | |
virtual bool | operator== (const PlannerDataEdge &rhs) const |
Returns true if the edges point to the same memory. | |
bool | operator!= (const PlannerDataEdge &rhs) const |
Returns true if the edges do not point to the same memory. This is the complement of the == operator. | |
Protected Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
![]() | |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
Protected Attributes | |
const Control * | c_ |
double | duration_ |
Friends | |
class | boost::serialization::access |
class | PlannerDataStorage |
class | PlannerData |
Representation of an edge in PlannerData for planning with controls. This structure encodes a specific control and a duration to apply the control.
Definition at line 60 of file PlannerData.h.