PCL
pcl::AutoViewWriteLock Class Reference

Automatic write-only view lock/unlock. More...

#include <AutoViewLock.h>

+ Inheritance diagram for pcl::AutoViewWriteLock:

Public Member Functions

 AutoViewWriteLock (View &view)
 
- Public Member Functions inherited from pcl::AutoViewLock
 AutoViewLock (const AutoViewLock &)=delete
 
 AutoViewLock (View &view, bool lock=true)
 
 ~AutoViewLock ()
 
void Lock ()
 
void LockForWrite ()
 
AutoViewLockoperator= (const AutoViewLock &)=delete
 
void RelockForRead ()
 
void Unlock ()
 
void UnlockForRead ()
 

Detailed Description

AutoViewWriteLock performs automatic write-only locking/unlocking of View objects. See the documentation for the base class, AutoViewLock, for complete information.

See also
View, AutoViewLock

Definition at line 316 of file AutoViewLock.h.

Constructor & Destructor Documentation

◆ AutoViewWriteLock()

pcl::AutoViewWriteLock::AutoViewWriteLock ( View view)
inlineexplicit

Constructs an AutoViewWriteLock object to monitor the specified view and lock it for write operations exclusively.

This constructor is equivalent to the following:

AutoViewLock lock( view, false ); // do not lock for read-write ops.
lock.LockForWrite();
AutoViewLock(View &view, bool lock=true)
Definition: AutoViewLock.h:187

Definition at line 331 of file AutoViewLock.h.


The documentation for this class was generated from the following file: