cartobase  5.1.2
carto::ExclusiveContext Class Reference

#include <cartobase/thread/exclusiveContext.h>

Inheritance diagram for carto::ExclusiveContext:

Public Member Functions

 ExclusiveContext (bool singlethread=false)
 
virtual ~ExclusiveContext ()
 
void lock ()
 
void unlock ()
 
void setSingleThreaded (bool singlethread)
 
bool isSingleThreaded () const
 

Detailed Description

Definition at line 48 of file exclusiveContext.h.

Constructor & Destructor Documentation

◆ ExclusiveContext()

carto::ExclusiveContext::ExclusiveContext ( bool  singlethread = false)

◆ ~ExclusiveContext()

virtual carto::ExclusiveContext::~ExclusiveContext ( )
virtual

Member Function Documentation

◆ isSingleThreaded()

bool carto::ExclusiveContext::isSingleThreaded ( ) const
inline

Definition at line 60 of file exclusiveContext.h.

◆ lock()

void carto::ExclusiveContext::lock ( )

◆ setSingleThreaded()

void carto::ExclusiveContext::setSingleThreaded ( bool  singlethread)
inline

Definition at line 58 of file exclusiveContext.h.

◆ unlock()

void carto::ExclusiveContext::unlock ( )

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