HOG2
OccupancyInterface.h
Go to the documentation of this file.
1 
27 // This interface has been moved into its own file so it can more easily
28 // be included in other files.
29 
30 // Moved from ReservationProvider.h
31 
32 #ifndef OCCUPANCYINTERFACE_H
33 #define OCCUPANCYINTERFACE_H
34 
35 template <class state, class action>
37 public:
38  virtual ~OccupancyInterface() {}
39  virtual void SetStateOccupied(const state&, bool) = 0;
40  virtual bool GetStateOccupied(const state&) = 0;
41  virtual void MoveUnitOccupancy(const state &, const state&) = 0;
42  virtual bool CanMove(const state&, const state&) = 0;
43  //virtual bool CanMove(state, state, double, uint32_t ID) = 0;
44  //virtual bool ReserveMove(state, state, double, uint32_t ID) = 0;
45  //virtual bool ClearMove(state, state, double, uint32_t ID) = 0;
46  //virtual bool ClearStates() = 0;
47 };
48 
49 #endif
OccupancyInterface::GetStateOccupied
virtual bool GetStateOccupied(const state &)=0
OccupancyInterface::~OccupancyInterface
virtual ~OccupancyInterface()
Definition: OccupancyInterface.h:38
OccupancyInterface::SetStateOccupied
virtual void SetStateOccupied(const state &, bool)=0
OccupancyInterface::MoveUnitOccupancy
virtual void MoveUnitOccupancy(const state &, const state &)=0
OccupancyInterface::CanMove
virtual bool CanMove(const state &, const state &)=0
OccupancyInterface
Definition: OccupancyInterface.h:36