Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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: