|
sttcl
v0.9c
STTCL C++ template state machine framework
|
#include <SttclMutex.h>
Public Member Functions | |
| AutoLocker (Lockable &argLockableRef) | |
| ~AutoLocker () | |
Helper class to create a properly scoped lock of a mutex object.
| Lockable | The mutex class type. |
|
inline |
Constructor for class AutoLocker. Locks the argLockableRef object.
| argLockableRef | A reference to a mutex (or other Lockable implementation). |
|
inline |
Destructor for class AutoLocker. Unlocks the object reference passed with the constructor.