GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <ConcurrentMap.h>
Public Types | |
typedef ConcurrentMapBase< KEY, VALUE > | Base |
Public Member Functions | |
ConcurrentMap () | |
template<typename INPUTITERATOR > | |
ConcurrentMap (INPUTITERATOR first, INPUTITERATOR last) | |
ConcurrentMap (const ConcurrentMap< KEY, VALUE > &x) | |
ConcurrentMap (const Base &x) | |
bool | exists (const KEY &e) const |
void | unsafe_erase (typename Base::iterator position) |
Base::size_type | unsafe_erase (const KEY &k) |
void | unsafe_erase (typename Base::iterator first, typename Base::iterator last) |
operator std::map< KEY, VALUE > () const | |
bool | insert2 (const KEY &key, const VALUE &val) |
FastMap is a thin wrapper around std::map that uses the boost fast_pool_allocator instead of the default STL allocator. This is just a convenience to avoid having lengthy types in the code. Through timing, we've seen that the fast_pool_allocator can lead to speedups of several percent.
|
inline |
Default constructor
|
inline |
Constructor from a range, passes through to base class
|
inline |
Copy constructor from another ConcurrentMap
|
inline |
Copy constructor from the base map class
|
inline |
Handy 'exists' function
|
inlineinherited |
Handy 'insert' function for Matlab wrapper
|
inlineinherited |
Conversion to a standard STL container