LEMUR Packages: ompl_lemur or_lemur pr_bgl prpy_lemur
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Groups Pages
TagCache.h
Go to the documentation of this file.
1 
7 namespace ompl_lemur
8 {
9 
10 // this may throw on load or save error!
11 template <class VTagMap, class ETagMap>
12 class TagCache
13 {
14 public:
15  // this is checked by setProblemDefinition() (or solve()?)
16  // if this is set, then the planner assumes that the entire graph
17  // should be re-loaded
18  virtual bool hasChanged() = 0;
19 
20  virtual void loadBegin() = 0;
21  virtual void loadBatch(size_t batch,
22  VTagMap v_tag_map, size_t v_from, size_t v_to,
23  ETagMap e_tags_map, size_t e_from, size_t e_to) = 0;
24  virtual void loadEnd() = 0;
25 
26  virtual void saveBegin() = 0;
27  virtual void saveBatch(size_t batch,
28  VTagMap v_tag_map, size_t v_from, size_t v_to,
29  ETagMap e_tags_map, size_t e_from, size_t e_to) = 0;
30  virtual void saveEnd() = 0;
31 };
32 
33 } // namespace ompl_lemur
Definition: TagCache.h:12