| Homepage | Demos | Overview | Downloads | Tutorials | 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, 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 id
Definition at line 13 of file LockScope.h. |
|
|||||||||
|
destructor, releases lock received in constructor
Definition at line 15 of file LockScope.h. |
|
|||||
|
the lock
Definition at line 17 of file LockScope.h. Referenced by LockScope< num_doors >::LockScope(), and LockScope< num_doors >::~LockScope(). |
|
Tekkotsu v2.3 |
Generated Sat Jan 29 02:27:36 2005 by Doxygen 1.4.0 |