Main Page
Namespaces
Classes
Files
File List
File Members
src
HectorMapMutex.h
Go to the documentation of this file.
1
#ifndef hectormapmutex_h__
2
#define hectormapmutex_h__
3
4
#include "
util/MapLockerInterface.h
"
5
6
#include <boost/thread/mutex.hpp>
7
8
class
HectorMapMutex
:
public
MapLockerInterface
9
{
10
public
:
11
virtual
void
lockMap
()
12
{
13
mapModifyMutex_
.lock();
14
}
15
16
virtual
void
unlockMap
()
17
{
18
mapModifyMutex_
.unlock();
19
}
20
21
boost::mutex
mapModifyMutex_
;
22
};
23
24
#endif
MapLockerInterface
Definition:
MapLockerInterface.h:32
MapLockerInterface.h
HectorMapMutex::lockMap
virtual void lockMap()
Definition:
HectorMapMutex.h:11
HectorMapMutex::mapModifyMutex_
boost::mutex mapModifyMutex_
Definition:
HectorMapMutex.h:21
HectorMapMutex
Definition:
HectorMapMutex.h:8
HectorMapMutex::unlockMap
virtual void unlockMap()
Definition:
HectorMapMutex.h:16
hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Sun Nov 3 2019 03:18:33