Bayonne2 / Common C++ 2 Framework
Protected Member Functions | Static Private Attributes
objSync< T > Class Template Reference

Generic template to create objects of a common base type which share a static mutex so that all instances of the class have a global lock. More...

#include <objsync.h>

Collaboration diagram for objSync< T >:
Collaboration graph
[legend]

Protected Member Functions

void  objLock (void)
 
void  objUnlock (void)
 

Static Private Attributes

static ost::Mutex  objMutex
 

Detailed Description

template<class T>
class objSync< T >

Generic template to create objects of a common base type which share a static mutex so that all instances of the class have a global lock.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org global mutex locked class.

Definition at line 63 of file objsync.h.

Member Function Documentation

template<class T >
void objSync< T >::objLock ( void  )
inlineprotected

Definition at line 69 of file objsync.h.

template<class T >
void objSync< T >::objUnlock ( void  )
inlineprotected

Definition at line 72 of file objsync.h.

Field Documentation

template<class T >
ost::Mutex objSync< T >::objMutex
staticprivate

Definition at line 66 of file objsync.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /