ViSP  2.10.0
vpMutex Class Reference

#include <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 63 of file vpMutex.h.

Constructor & Destructor Documentation

vpMutex::vpMutex ( )
inline

Definition at line 65 of file vpMutex.h.

Member Function Documentation

void vpMutex::lock ( )
inline

Definition at line 68 of file vpMutex.h.

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

void vpMutex::unlock ( )
inline

Definition at line 71 of file vpMutex.h.

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