![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
locks a mutex within the current scope More...
#include <Os/Mutex.hpp>
Public Member Functions | |
| ScopeLock (Mutex &mutex) | |
| construct the scope lock More... | |
| ~ScopeLock () | |
| unlock the scoped mutex More... | |
| ScopeLock (const ScopeLock &other)=delete | |
| copy constructor is forbidden More... | |
| ScopeLock (const ScopeLock *other)=delete | |
| copy constructor is forbidden More... | |
| ScopeLock & | operator= (const ScopeLock &other)=delete |
| assignment operator is forbidden More... | |
locks a mutex within the current scope
The scope lock will lock the associated mutex immediately and will ensure the mutex is unlock when the scope lock is destroyed.
|
explicit |
|
delete |
copy constructor is forbidden
|
delete |
copy constructor is forbidden
assignment operator is forbidden