Equivalent of the ScopedPtr class, but for constant data.
More...
#include <mutex.h>
List of all members.
Detailed Description
template<class T>
class CxUtils::Mutex::CScopedPtr< T >
Equivalent of the ScopedPtr class, but for constant data.
Definition at line 217 of file mutex.h.
Constructor & Destructor Documentation
Constructor for creation of a CScopedPtr.
- Parameters:
-
[in] | data | Pointer to data to be protected by a mutex until program exits the scope this structure was created in. |
[in] | mutex | Pointer to the mutex to use within the current program scope. |
[in] | forceUnlock | If true (default is false) then when the object goes out of scope, the mutex is unlocked always. |
Definition at line 231 of file mutex.h.
Member Function Documentation
The documentation for this class was generated from the following file:
- C:/Active/libraries/cxutils/2.0/include/cxutils/mutex.h