Open CASCADE Technology 7.8.0
Public Member Functions
SelectMgr_BVHThreadPool::Sentry Class Reference

Class providing a simple interface to mutexes for list of BVHThread. More...

#include <SelectMgr_BVHThreadPool.hxx>

Public Member Functions

 Sentry (const Handle< SelectMgr_BVHThreadPool > &thePool)
 Constructor - initializes the sentry object and locks list of mutexes immediately.
 
 ~Sentry ()
 Destructor - unlocks list of mutexes if already locked.
 
void Lock ()
 Lock list of mutexes.
 
void Unlock ()
 Unlock list of mutexes.
 
 Sentry (const Sentry &)
 This method should not be called (prohibited).
 
Sentryoperator= (const Sentry &)
 This method should not be called (prohibited).
 

Detailed Description

Class providing a simple interface to mutexes for list of BVHThread.

Constructor & Destructor Documentation

◆ Sentry() [1/2]

SelectMgr_BVHThreadPool::Sentry::Sentry ( const Handle< SelectMgr_BVHThreadPool > &  thePool)
inline

Constructor - initializes the sentry object and locks list of mutexes immediately.

◆ ~Sentry()

SelectMgr_BVHThreadPool::Sentry::~Sentry ( )
inline

Destructor - unlocks list of mutexes if already locked.

◆ Sentry() [2/2]

SelectMgr_BVHThreadPool::Sentry::Sentry ( const Sentry )

This method should not be called (prohibited).

Member Function Documentation

◆ Lock()

void SelectMgr_BVHThreadPool::Sentry::Lock ( )
inline

Lock list of mutexes.

◆ operator=()

Sentry & SelectMgr_BVHThreadPool::Sentry::operator= ( const Sentry )

This method should not be called (prohibited).

◆ Unlock()

void SelectMgr_BVHThreadPool::Sentry::Unlock ( )
inline

Unlock list of mutexes.


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