HectorMapMutex.h
Go to the documentation of this file.
00001 #ifndef hectormapmutex_h__
00002 #define hectormapmutex_h__
00003 
00004 #include "util/MapLockerInterface.h"
00005 
00006 #include <boost/thread/mutex.hpp>
00007 
00008 class HectorMapMutex : public MapLockerInterface
00009 {
00010 public:
00011   virtual void lockMap()
00012   {
00013     mapModifyMutex_.lock();
00014   }
00015 
00016   virtual void unlockMap()
00017   {
00018     mapModifyMutex_.unlock();
00019   }
00020 
00021   boost::mutex mapModifyMutex_;
00022 };
00023 
00024 #endif


hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Thu Jun 6 2019 20:12:30