1 #ifndef OMP_ClassFactory_H
2 #define OMP_ClassFactory_H
5 #include "CORE_ClassFactory.h"
57 inline static CORE_UniquePointer<OMP_ClassFactory>
New() {
90 virtual CORE_UniquePointer<CORE_Object>
NewInstance(
const tString& name,
108 static void InitSeeds(
const tULLInt& alpha,
const tULLInt& beta);
113 static void InitSeeds(std::function<tULLInt(tInteger)> F);
this class describes a class factory to generate classes
Definition: CORE_ClassFactory.h:24
virtual tMemSize getContentsMemorySize() const override
return the memory size in byte
Definition: CORE_ClassFactory.h:84
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class is an list of options.
Definition: CORE_OptionsList.h:36
this class describes a class factory to generate classes for the math/fftw Package
Definition: OMP_ClassFactory.h:15
static CORE_UniquePointer< OMP_ClassFactory > New()
create a unque pointer to the class factory
Definition: OMP_ClassFactory.h:57
static void InitSeeds(std::function< tULLInt(tInteger)> F)
init the seeds
virtual tMemSize getMemorySize() const override
return the memory size of the class and the memory size of all its attributes/associations
Definition: OMP_ClassFactory.h:70
static void InitSeeds(const tULLInt &alpha, const tULLInt &beta)
init the linear seeds. seed for thread i is (i+1) x alpha +beta
static void InitSeeds(const tULLInt &seed)
init the seeds
OMP_ClassFactory()
build a OMP_ClassFactory
Definition: OMP_ClassFactory.cpp:4
static void InitSeeds()
init the seeds
virtual CORE_UniquePointer< CORE_Object > NewInstance(const tString &name, const CORE_OptionsList &arguments) const override
create an unique instance of a class as a general CORE_Object
Definition: OMP_ClassFactory.cpp:10
virtual ~OMP_ClassFactory(void)
destroy a OMP_ClassFactory
Definition: OMP_ClassFactory.cpp:7