Go to the documentation of this file.
47 class dynamicCodeContext;
70 const string& globalFuncName,
78 const string& globalFuncName,
97 const word& redirectType
A table of dynamically loaded libraries.
void updateLibrary(const word &redirectType) const
Update library as required.
A class for handling words, derived from string.
A class for handling file names.
virtual const dictionary & codeDict() const =0
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const =0
Adapt the context for the current object.
Tools for handling dynamic code compilation.
virtual void clearRedirect() const =0
Encapsulation of dynamic code dictionaries.
virtual ~codedBase()
Destructor.
Base class for function objects and boundary conditions using dynamic code.
void(* loaderFunctionType)(bool)
Global loader/unloader function type.
void unloadLibrary(const fileName &libPath, const string &globalFuncName, const dictionary &contextDict) const
Execute globalFuncName(false) and unload specified library.
void * loadLibrary(const fileName &libPath, const string &globalFuncName, const dictionary &contextDict) const
Load specified library and execute globalFuncName(true)
A list of keyword definitions, which are a keyword followed by any number of values (e....
ClassName("codedBase")
Runtime type information.
virtual dlLibraryTable & libs() const =0
Get the loaded dynamic libraries.
virtual string description() const =0
fileName oldLibPath_
Previously loaded library.
codedBase()
Construct null.
void operator=(const codedBase &)
Disallow default bitwise assignment.
void createLibrary(dynamicCode &, const dynamicCodeContext &) const
Create library based on the dynamicCodeContext.