diff --git a/api/latest/BayesFilter_8h_source.html b/api/latest/BayesFilter_8h_source.html index e3d0435e..83539e85 100644 --- a/api/latest/BayesFilter_8h_source.html +++ b/api/latest/BayesFilter_8h_source.html @@ -33,7 +33,7 @@
This is the complete list of members for UScopeMutex, including all inherited members.
| UScopeMutex(const UMutex &mutex) (defined in UScopeMutex) | UScopeMutex | inline |
| isLocked() const | UScopeMutex | inline |
| lock() & | UScopeMutex | inline |
| lockTry() & | UScopeMutex | inline |
| unlock() & | UScopeMutex | inline |
| UScopeMutex(const UMutex &mutex, bool lockNow=true) | UScopeMutex | inline |
| UScopeMutex(UMutex *mutex) (defined in UScopeMutex) | UScopeMutex | inline |
| ~UScopeMutex() (defined in UScopeMutex) | UScopeMutex | inline |
| ~UScopeMutex() | UScopeMutex | inline |
Public Member Functions | |
| UScopeMutex (const UMutex &mutex) | |
| UScopeMutex (const UMutex &mutex, bool lockNow=true) | |
| UScopeMutex (UMutex *mutex) | |
| ~UScopeMutex () | |
| int | lock () & |
| int | lockTry () & |
| int | unlock () & |
| bool | isLocked () const |
Automatically lock the referenced mutex on constructor and unlock mutex on destructor.
@@ -132,13 +142,31 @@ Public Member FunctionsThe lock can also be deferred, for example to only try locking it. The destructor then unlocks the mutex only if this object locked it:
The object must be named: a temporary would be destroyed, and the mutex unlocked, at the end of the expression. lock(), lockTry() and unlock() can only be called on a named object, so that if(UScopeMutex(m, false).lockTry() == 0) doesn't compile. In C++17, the object can be scoped to an if statement instead:
Definition at line 164 of file UMutex.h.
+Definition at line 193 of file UMutex.h.
true
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +