LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScThreadedInterpreterContextGetterGuard Class Reference

#include <interpretercontext.hxx>

Collaboration diagram for ScThreadedInterpreterContextGetterGuard:
[legend]

Public Member Functions

 ScThreadedInterpreterContextGetterGuard (size_t nNumThreads, const ScDocument &rDoc, SvNumberFormatter *pFormatter)
 
 ~ScThreadedInterpreterContextGetterGuard ()
 
ScInterpreterContextGetInterpreterContextForThreadIdx (size_t nThreadIdx) const
 

Private Attributes

ScInterpreterContextPoolrPool
 

Detailed Description

Definition at line 141 of file interpretercontext.hxx.

Constructor & Destructor Documentation

◆ ScThreadedInterpreterContextGetterGuard()

ScThreadedInterpreterContextGetterGuard::ScThreadedInterpreterContextGetterGuard ( size_t  nNumThreads,
const ScDocument rDoc,
SvNumberFormatter pFormatter 
)

Definition at line 178 of file interpretercontext.cxx.

References ScInterpreterContextPool::Init(), and rPool.

◆ ~ScThreadedInterpreterContextGetterGuard()

ScThreadedInterpreterContextGetterGuard::~ScThreadedInterpreterContextGetterGuard ( )

Definition at line 185 of file interpretercontext.cxx.

References ScInterpreterContextPool::ReturnToPool(), and rPool.

Member Function Documentation

◆ GetInterpreterContextForThreadIdx()

ScInterpreterContext * ScThreadedInterpreterContextGetterGuard::GetInterpreterContextForThreadIdx ( size_t  nThreadIdx) const

Member Data Documentation

◆ rPool

ScInterpreterContextPool& ScThreadedInterpreterContextGetterGuard::rPool
private

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