#include <stlsoft/synch/lock_scope.hpp>
| L | The lockable type, e.g. stlsoft::null_mutex | |
| T | The lock traits. On translators that support default template arguments this defaults to lock_traits<L> |
Public Types | |
Member Types | |
| typedef L | lock_type |
| The lockable type. | |
| typedef T | traits_type |
| The traits type. | |
| typedef lock_scope< L, T > | class_type |
| The current parameterisation of this type. | |
Public Member Functions | |
Construction | |
| lock_scope (lock_type &l) | |
| Locks the lockable instance. | |
| ~lock_scope () throw () | |
| Unlocks the lockable instance. | |
| typedef L lock_type |
The lockable type.
| typedef T traits_type |
The traits type.
| typedef lock_scope<L, T> class_type |
The current parameterisation of this type.
| lock_scope | ( | lock_type & | l | ) | [inline] |
Locks the lockable instance.
| ~lock_scope | ( | ) | throw () [inline] |
Unlocks the lockable instance.
1.5.6