| Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LockScope< num_doors > Class Template Reference#include <LockScope.h>
Detailed Descriptiontemplate<unsigned int num_doors>
Locks a MutexLock until the LockScope goes out of scope.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| LockScope (MutexLock< num_doors > &lock) | |
| constructor, locks lock with the current process's id (ProcessID::getID()) | |
| LockScope (MutexLock< num_doors > &lock, int id) | |
| constructor, locks lock with id | |
| ~LockScope () | |
| destructor, releases lock received in constructor | |
Protected Attributes | |
| MutexLock< num_doors > & | l |
| the lock | |
|
||||||||||
|
constructor, locks lock with the current process's id (ProcessID::getID())
Definition at line 14 of file LockScope.h. |
|
||||||||||||||||
|
constructor, locks lock with id
Definition at line 16 of file LockScope.h. |
|
|||||||||
|
destructor, releases lock received in constructor
Definition at line 18 of file LockScope.h. |
|
|||||
|
the lock
Definition at line 20 of file LockScope.h. Referenced by LockScope< num_doors >::LockScope(), and LockScope< num_doors >::~LockScope(). |
|
Tekkotsu v2.4.1 |
Generated Tue Aug 16 16:35:04 2005 by Doxygen 1.4.4 |