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 ( size_t  nNumThreads,
const ScDocument rDoc,
SvNumberFormatter pFormatter 
)

Definition at line 173 of file interpretercontext.cxx.

References ScInterpreterContextPool::Init(), and rPool.

ScThreadedInterpreterContextGetterGuard::~ScThreadedInterpreterContextGetterGuard ( )

Definition at line 180 of file interpretercontext.cxx.

References ScInterpreterContextPool::ReturnToPool(), and rPool.

Member Function Documentation

ScInterpreterContext * ScThreadedInterpreterContextGetterGuard::GetInterpreterContextForThreadIdx ( size_t  nThreadIdx) const

Member Data Documentation

ScInterpreterContextPool& ScThreadedInterpreterContextGetterGuard::rPool
private

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