#include <guard.h>
Inheritance diagram for rpa::guard< Mutex >:

Public Member Functions | |
| guard (Mutex *aMtx) | |
| ~guard () | |
Private Member Functions | |
| guard () | |
| guard (const guard &) | |
| guard & | operator= (const guard &) |
Private Attributes | |
| Mutex * | _Mtx |
It is perfectly possible to specialise a specialization of 'guard_t', for such and such kind of mutex. TODO: An interesting semantic would be to encapsulate iterators into smart pointers, associated with a mutex, for thread safety. http://www.awprofessional.com/articles/article.asp?p=31529&seqNum=13&rl=1 "Smart pointers in C++" Alexei Alexandrescu.
| rpa::guard< Mutex >::guard | ( | ) | [private] |
| rpa::guard< Mutex >::guard | ( | const guard< Mutex > & | ) | [private] |
| rpa::guard< Mutex >::guard | ( | Mutex * | aMtx | ) | [inline] |
| rpa::guard< Mutex >::~guard | ( | ) | [inline] |
| guard& rpa::guard< Mutex >::operator= | ( | const guard< Mutex > & | ) | [private] |
Mutex* rpa::guard< Mutex >::_Mtx [private] |
1.4.7