LibreOffice Module sc (master) 1
|
#include <interpretercontext.hxx>
Static Public Member Functions | |
static void | ClearLookupCaches (const ScDocument *pDoc) |
Private Member Functions | |
ScInterpreterContextPool (bool bThreaded) | |
~ScInterpreterContextPool () | |
void | Init (size_t nNumThreads, const ScDocument &rDoc, SvNumberFormatter *pFormatter) |
ScInterpreterContext * | GetInterpreterContextForThreadIdx (size_t nThreadIdx) const |
void | Init (const ScDocument &rDoc, SvNumberFormatter *pFormatter) |
ScInterpreterContext * | GetInterpreterContext () const |
void | ReturnToPool () |
Private Attributes | |
std::vector< std::unique_ptr< ScInterpreterContext > > | maPool |
size_t | mnNextFree |
bool | mbThreaded |
Static Private Attributes | |
static ScInterpreterContextPool | aThreadedInterpreterPool |
static ScInterpreterContextPool | aNonThreadedInterpreterPool |
Friends | |
class | ScThreadedInterpreterContextGetterGuard |
class | ScInterpreterContextGetterGuard |
Definition at line 94 of file interpretercontext.hxx.
|
inlineprivate |
Definition at line 103 of file interpretercontext.hxx.
|
inlineprivate |
Definition at line 109 of file interpretercontext.hxx.
|
static |
Definition at line 168 of file interpretercontext.cxx.
References aNonThreadedInterpreterPool, aThreadedInterpreterPool, and maPool.
Referenced by ScDocument::ClearLookupCaches().
|
private |
Definition at line 145 of file interpretercontext.cxx.
References maPool, mbThreaded, and mnNextFree.
Referenced by ScInterpreterContextGetterGuard::GetInterpreterContext().
|
private |
Definition at line 120 of file interpretercontext.cxx.
References maPool, and mbThreaded.
Referenced by ScThreadedInterpreterContextGetterGuard::GetInterpreterContextForThreadIdx().
|
private |
Definition at line 128 of file interpretercontext.cxx.
References maPool, mbThreaded, and mnNextFree.
|
private |
Definition at line 104 of file interpretercontext.cxx.
References maPool, and mbThreaded.
Referenced by ScInterpreterContextGetterGuard::ScInterpreterContextGetterGuard(), and ScThreadedInterpreterContextGetterGuard::ScThreadedInterpreterContextGetterGuard().
|
private |
Definition at line 152 of file interpretercontext.cxx.
References maPool, mbThreaded, and mnNextFree.
Referenced by ScInterpreterContextGetterGuard::~ScInterpreterContextGetterGuard(), and ScThreadedInterpreterContextGetterGuard::~ScThreadedInterpreterContextGetterGuard().
|
friend |
Definition at line 97 of file interpretercontext.hxx.
|
friend |
Definition at line 96 of file interpretercontext.hxx.
|
staticprivate |
Definition at line 112 of file interpretercontext.hxx.
Referenced by ClearLookupCaches().
|
staticprivate |
Definition at line 111 of file interpretercontext.hxx.
Referenced by ClearLookupCaches().
|
private |
Definition at line 99 of file interpretercontext.hxx.
Referenced by ClearLookupCaches(), GetInterpreterContext(), GetInterpreterContextForThreadIdx(), Init(), and ReturnToPool().
|
private |
Definition at line 101 of file interpretercontext.hxx.
Referenced by GetInterpreterContext(), GetInterpreterContextForThreadIdx(), Init(), and ReturnToPool().
|
private |
Definition at line 100 of file interpretercontext.hxx.
Referenced by GetInterpreterContext(), Init(), ReturnToPool(), and ScInterpreterContextGetterGuard::~ScInterpreterContextGetterGuard().