|
C++ mpi module for stochmagnet_main Package
|
this class describes a class factory to generate classes for the math/fftw Package More...
#include <OMP_ClassFactory.h>


Public Member Functions | |
| virtual tMemSize | getMemorySize () const override |
| return the memory size of the class and the memory size of all its attributes/associations More... | |
| 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 More... | |
Public Member Functions inherited from CORE_ClassFactory | |
| virtual tMemSize | getContentsMemorySize () const override |
| return the memory size in byte More... | |
| void | addClassFactory (CORE_UniquePointer< CORE_ClassFactory > child) |
| add to class factory More... | |
| void | clearClassFactories () |
| clear the class factories list | |
| CORE_UniquePointer< CORE_Object > | NewInstance (const tString &name) const |
| create an unique instance of a class as a general CORE_Object More... | |
| template<class T > | |
| CORE_UniquePointer< T > | NewInstance (const tString &name, const CORE_OptionsList &arguments) const |
| create an unique instance of a class T More... | |
| template<class T > | |
| CORE_UniquePointer< T > | NewInstance (const tString &name) const |
| create an unique instance of a class T with no arguments More... | |
| template<class T > | |
| CORE_SharedPointer< T > | NewSharedPointer (const tString &name, const CORE_OptionsList &arguments) const |
| create a shared instance of a class More... | |
| template<class T > | |
| CORE_SharedPointer< T > | NewSharedPointer (const tString &name) const |
| create a shared instance of a class with no argument More... | |
| template<class T > | |
| CORE_SharedPointer< T > | NewSharedPointer () const |
| create a shared instance of a class with same type as T with no argument More... | |
| template<class T > | |
| CORE_SharedPointer< T > | NewSharedPointer (const CORE_OptionsList &arguments) const |
| create a shared instance of a class with same type as T More... | |
| virtual tString | toString () const override |
| get the string representation of the class More... | |
Public Member Functions inherited from CORE_Object | |
| template<class T > | |
| std::shared_ptr< T > | getSharedPointer () |
| return the shared pointer for this More... | |
| template<class T > | |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| return a const shared pointer for this More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| test if the clas T is an instance of this class More... | |
| tString | getClassName () const |
| return the name of the class More... | |
| tString | getPointerString () const |
| retrun the pointer of the class as a string More... | |
| tString | getIdentityString () const |
| retrun the string identification of the class More... | |
Static Public Member Functions | |
| static CORE_UniquePointer< OMP_ClassFactory > | New () |
| create a unque pointer to the class factory More... | |
| static void | InitSeeds () |
| init the seeds More... | |
| static void | InitSeeds (const tULLInt &seed) |
| init the seeds More... | |
| static void | InitSeeds (const tULLInt &alpha, const tULLInt &beta) |
| init the linear seeds. seed for thread i is (i+1) x alpha +beta More... | |
| static void | InitSeeds (std::function< tULLInt(tInteger)> F) |
| init the seeds More... | |
Static Public Member Functions inherited from CORE_ClassFactory | |
| static CORE_UniquePointer< CORE_ClassFactory > | New () |
| build a new instance of default class factory More... | |
| template<class T > | |
| static CORE_SharedPointer< T > | NewSharedPointer (CORE_UniquePointer< T > &up) |
| create a shared instance of an unique pointer More... | |
| template<class T > | |
| static CORE_SharedPointer< T > | NewSharedPointer (CORE_UniquePointer< T > &&up) |
| create a shared instance of an unique pointer as a lvalue More... | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
Protected Member Functions | |
| OMP_ClassFactory () | |
| build a OMP_ClassFactory | |
| virtual | ~OMP_ClassFactory (void) |
| destroy a OMP_ClassFactory | |
Protected Member Functions inherited from CORE_ClassFactory | |
| CORE_ClassFactory () | |
| build a CORE_ClassFactory | |
| virtual | ~CORE_ClassFactory (void) |
| destroy a CORE_ClassFactory | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
this class describes a class factory to generate classes for the math/fftw Package
|
inlineoverridevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from CORE_ClassFactory.
|
static |
init the seeds
| [in] | seed | : seed for thread i is (i+1) x time(null) |
|
static |
init the linear seeds. seed for thread i is (i+1) x alpha +beta
| [in] | alpha | : multiplicator factor |
| [in] | beta | : constant factor |
|
static |
init the seeds
| [in] | seed | : seed for thread i is (i+1) x seed |
|
static |
init the seeds
| [in] | F | : function to compute seeds F(i) gives the seed for thread i |
|
inlinestatic |
create a unque pointer to the class factory
|
overridevirtual |
create an unique instance of a class as a general CORE_Object
| [in] | name | name of the class to create |
| [in] | arguments | : arguments of the class (name,value) |
Reimplemented from CORE_ClassFactory.