Visual Servoing Platform  version 3.0.0
vpMutex Class Reference

#include <visp3/core/vpMutex.h>

Classes

class  vpScopedLock
 

Public Member Functions

 vpMutex ()
 
void lock ()
 
void unlock ()
 

Detailed Description

Class that allows protection by mutex.

Warning
This class needs the pthread third-party library.

Definition at line 58 of file vpMutex.h.

Constructor & Destructor Documentation

vpMutex::vpMutex ( )
inline

Definition at line 60 of file vpMutex.h.

Member Function Documentation

void vpMutex::lock ( )
inline

Definition at line 63 of file vpMutex.h.

Referenced by vpKinect::getDepthMap(), and vpMutex::vpScopedLock::vpScopedLock().

void vpMutex::unlock ( )
inline

Definition at line 66 of file vpMutex.h.

Referenced by vpKinect::getDepthMap(), and vpMutex::vpScopedLock::~vpScopedLock().