#include <thread_safe_map.hpp>
Public Member Functions | |
| T | find (std::string first) |
| bool | insert (const std::string &first, const T &value) |
| std::vector< std::string > | keys () |
| Map () | |
| bool | update (const std::string &first, const T &value) |
| ~Map () | |
Private Types | |
| typedef std::map< std::string, T > | InternalMap |
Private Attributes | |
| std::vector< std::string > | keys_ |
| boost::shared_ptr< InternalMap > | map_ |
| boost::shared_ptr< boost::shared_mutex > | mutex_ |
Static Private Attributes | |
| static const int | lock_wait_time = 100 |
Definition at line 44 of file thread_safe_map.hpp.
|
private |
Definition at line 101 of file thread_safe_map.hpp.
|
inline |
Definition at line 47 of file thread_safe_map.hpp.
|
inline |
Definition at line 53 of file thread_safe_map.hpp.
|
inline |
Definition at line 57 of file thread_safe_map.hpp.
|
inline |
Definition at line 68 of file thread_safe_map.hpp.
|
inline |
Definition at line 93 of file thread_safe_map.hpp.
|
inline |
Definition at line 81 of file thread_safe_map.hpp.
|
private |
Definition at line 106 of file thread_safe_map.hpp.
|
staticprivate |
Definition at line 99 of file thread_safe_map.hpp.
|
private |
Definition at line 103 of file thread_safe_map.hpp.
|
private |
Definition at line 105 of file thread_safe_map.hpp.