tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

atomic_set< TYPE > Class Template Reference

#include <atomic_set_map.h>

Collaboration diagram for atomic_set< TYPE >:
[legend]

Public Member Functions

 atomic_set ()
 
bool contains (const TYPE &s)
 
void insert (const TYPE &s)
 
bool check_for_presence_and_insert (const TYPE &s)
 

Private Attributes

cppmutex M
 
std::set< TYPE > myset
 

Detailed Description

template<class TYPE>
class atomic_set< TYPE >

Definition at line 107 of file atomic_set_map.h.

Constructor & Destructor Documentation

◆ atomic_set()

template<class TYPE >
atomic_set< TYPE >::atomic_set ( )
inline

Definition at line 119 of file atomic_set_map.h.

Member Function Documentation

◆ check_for_presence_and_insert()

template<class TYPE >
bool atomic_set< TYPE >::check_for_presence_and_insert ( const TYPE &  s)
inline

◆ contains()

template<class TYPE >
bool atomic_set< TYPE >::contains ( const TYPE &  s)
inline

Definition at line 120 of file atomic_set_map.h.

References atomic_set< TYPE >::M, and atomic_set< TYPE >::myset.

◆ insert()

template<class TYPE >
void atomic_set< TYPE >::insert ( const TYPE &  s)
inline

Definition at line 124 of file atomic_set_map.h.

References atomic_set< TYPE >::M, and atomic_set< TYPE >::myset.

Member Data Documentation

◆ M

template<class TYPE >
cppmutex atomic_set< TYPE >::M
private

◆ myset

template<class TYPE >
std::set<TYPE> atomic_set< TYPE >::myset
private

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