Loading...
Searching...
No Matches
PlannerDataStorage.cpp
41static const boost::uint32_t OMPL_PLANNER_DATA_CONTROL_ARCHIVE_MARKER = 0x5044434D; // this spells PDCM
126 OMPL_WARN("Failed to cast PlannerData to control::PlannerData. Invoking base::PlannerDataStorage::store");
virtual void loadVertices(PlannerData &pd, unsigned int numVertices, boost::archive::binary_iarchive &ia)
Read numVertices from the binary input ia and store them as PlannerData.
Definition PlannerDataStorage.h:171
virtual void storeVertices(const PlannerData &pd, boost::archive::binary_oarchive &oa)
Serialize and store all vertices in pd to the binary archive.
Definition PlannerDataStorage.h:214
virtual void store(const PlannerData &pd, const char *filename)
Store (serialize) the PlannerData structure to the given filename.
Definition PlannerDataStorage.cpp:46
virtual void load(const char *filename, PlannerData &pd)
Load the PlannerData structure from the given stream. The StateSpace that was used to store the data ...
Definition PlannerDataStorage.cpp:87
Object containing planner generated vertex and edge data. It is assumed that all vertices are unique,...
Definition PlannerData.h:175
virtual bool hasControls() const
Indicate whether any information about controls (ompl::control::Control) is stored in this instance.
Definition PlannerData.cpp:784
A shared pointer wrapper for ompl::base::SpaceInformation.
void store(const base::PlannerData &pd, const char *filename) override
Store (serialize) the structure to the given filename. The StateSpace and ControlSpace that was used ...
Definition PlannerDataStorage.cpp:116
void load(const char *filename, base::PlannerData &pd) override
Load the PlannerData structure from the given filename.
Definition PlannerDataStorage.cpp:44
void storeEdges(const base::PlannerData &pd, boost::archive::binary_oarchive &oa) override
Serialize and store all edges in pd to the binary archive. It is assumed that the edges can be cast t...
Definition PlannerDataStorage.h:151
void loadEdges(base::PlannerData &pd, unsigned int numEdges, boost::archive::binary_iarchive &ia) override
Read numEdges from the binary input ia and store them as PlannerData. It is assumed that the edges ca...
Definition PlannerDataStorage.h:110
Object containing planner generated vertex and edge data. It is assumed that all vertices are unique,...
Definition PlannerData.h:122
Information stored at the beginning of the PlannerData archive.
Definition PlannerDataStorage.h:106
std::uint_fast32_t marker
OMPL PlannerData specific marker (fixed value)
Definition PlannerDataStorage.h:108