filter_basic.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <vector>
21 #include <string>
22 #include <algorithm>
23 
24 #include <ros/ros.h>
25 #include <boost/shared_ptr.hpp>
26 
27 #include "model/robot_state.hpp"
28 #include "model/ptu_tuple.hpp"
29 
30 
31 namespace directSearchWS {
32 
33 class FilterBasic {
34 
35 protected:
37 
38 public:
39  FilterBasic(const RobotStatePtrVecPtr &posesToExplorePtr) : posesToExplorePtr(posesToExplorePtr) { }
40  virtual ~FilterBasic() { }
41 
42  virtual bool needIteration() = 0;
43  virtual bool wasIterationSuccessful() = 0;
44  virtual bool shouldPtuTupleBeDeleted(const RobotStatePtrVec::iterator &posesToExploreIter, const PtuTuplePtrVec::iterator &ptuTuplePtrIter) = 0;
45 
46 };
47 
49 
50 }
51 
52 
FilterBasic(const RobotStatePtrVecPtr &posesToExplorePtr)
virtual bool needIteration()=0
virtual bool wasIterationSuccessful()=0
const RobotStatePtrVecPtr & posesToExplorePtr
virtual bool shouldPtuTupleBeDeleted(const RobotStatePtrVec::iterator &posesToExploreIter, const PtuTuplePtrVec::iterator &ptuTuplePtrIter)=0
boost::shared_ptr< FilterBasic > FilterBasicPtr


asr_direct_search_manager
Author(s): Borella Jocelyn, Karrenbauer Oliver, Mei├čner Pascal
autogenerated on Wed Jan 8 2020 03:15:41