Visual Servoing Platform  version 3.0.0
vpMutex::vpScopedLock Class Reference

#include <visp3/core/vpMutex.h>

Public Member Functions

 vpScopedLock (vpMutex &mutex)
 
 ~vpScopedLock ()
 

Detailed Description

Class that allows protection by mutex.

Warning
This class needs the pthread third-party library.

Definition at line 80 of file vpMutex.h.

Constructor & Destructor Documentation

vpMutex::vpScopedLock::vpScopedLock ( vpMutex mutex)
inline

Definition at line 94 of file vpMutex.h.

References vpMutex::lock().

vpMutex::vpScopedLock::~vpScopedLock ( )
inline

Definition at line 99 of file vpMutex.h.

References vpMutex::unlock().