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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Mon Jul 15 2013 16:52:03