GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Concurrent_Map< Data > Class Template Reference

This class implements a thread-safe std::map. More...

#include <concurrent_map.h>

Public Member Functions

void write (int key, Data const &data)
std::map< int, Data > get_map_copy () const &
std::map< int, Data > get_map_copy () &&
size_t size () const
bool read (int key, Data &p_data) const

Detailed Description

template<typename Data>
class Concurrent_Map< Data >

This class implements a thread-safe std::map.

Definition at line 37 of file concurrent_map.h.

Member Function Documentation

◆ get_map_copy() [1/2]

template<typename Data>
std::map< int, Data > Concurrent_Map< Data >::get_map_copy ( ) &&
inline

Definition at line 60 of file concurrent_map.h.

◆ get_map_copy() [2/2]

template<typename Data>
std::map< int, Data > Concurrent_Map< Data >::get_map_copy ( ) const &
inline

Definition at line 54 of file concurrent_map.h.

◆ read()

template<typename Data>
bool Concurrent_Map< Data >::read ( int key,
Data & p_data ) const
inline

Definition at line 72 of file concurrent_map.h.

◆ size()

template<typename Data>
size_t Concurrent_Map< Data >::size ( ) const
inline

Definition at line 66 of file concurrent_map.h.

◆ write()

template<typename Data>
void Concurrent_Map< Data >::write ( int key,
Data const & data )
inline

Definition at line 40 of file concurrent_map.h.


The documentation for this class was generated from the following file: