|
C++ mpi module for stochmagnet_main Package
|
This class is a Run class for core package. More...
#include <CORE_Run.h>


Public Member Functions | |
| CORE_Run (void) | |
| create | |
| virtual | ~CORE_Run (void) |
| destroy | |
| virtual tMemSize | getMemorySize () const override |
| return the memory size of the class More... | |
| virtual tMemSize | getContentsMemorySize () const override |
| return the memory size in byte More... | |
| void | setOptionsClassName (const tString &c) |
| set the options class name More... | |
| void | initOptions (CORE_OptionsList &options) const |
| default initialization of the options More... | |
| virtual void | createClassFactories (const CORE_OptionsList &options) const |
| create the class factories from options More... | |
| virtual void | setLogOptions (const CORE_OptionsList &options) const |
| virtual void | getManCommands (std::map< tString, tString > &commandsMan) const |
| return the man of commands More... | |
| tBoolean | executeRun (int argc, char *argv[]) const |
| run the program from main class More... | |
| virtual tBoolean | makeRun (const tString &command, const CORE_OptionsList &options) const |
| make Run command More... | |
| virtual tBoolean | makeTests (const CORE_OptionsList &options) const |
| make tests command More... | |
| virtual tBoolean | printHelp (const CORE_OptionsList &options) const |
| print the help 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... | |
| virtual tString | toString () const |
| return the string representation of the object node More... | |
Static Public Member Functions | |
| static void | SetSoftName (const tString &soft) |
| set soft name More... | |
| static const tString & | GetSoftName () |
| get soft name More... | |
| static void | SetVersion (const tString &version) |
| set the version More... | |
| static const tString & | GetVersion () |
| get the version More... | |
| static tBoolean | Is64Architecture () |
| return true if the machine is a 64 bits machine More... | |
| static tBoolean | Is32Architecture () |
| return true if the machine is a 32 bits machine More... | |
| static void | InitSeed (const unsigned int &seed) |
| init the seed for uniform random generator More... | |
| static void | InitSeed () |
| init the seed for uniform random generator | |
| static CORE_Out & | Out () |
| return the output stream More... | |
| static CORE_Out & | getOut () |
| return the output stream More... | |
| static CORE_ClassFactory & | GetClassFactory () |
| return the class factory More... | |
| static tString | ReadPath (const CORE_OptionsList &options, const tString &optName) |
| read the path from options with optName More... | |
| static void | ReadOutputOptions (const CORE_OptionsList &options, tString &outputPath, tString &outputPrefix) |
| read the output path &prefix from options More... | |
| static void | ReadInputOptions (const CORE_OptionsList &options, tString &inputPath, tString &inputPrefix) |
| read the input path & prefix from options More... | |
| static void | SetLogOptions (const CORE_OptionsList &options) |
| static void | SetDebugOptions (const CORE_OptionsList &options) |
| set the log options 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... | |
Additional Inherited Members | |
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 is a Run class for core package.
The program is launch as follow:
core.exe [options] make [args]
with options:
wuih type:
execute core.exe –help to show the man
|
virtual |
create the class factories from options
| [in] | options | the options of the program |
Reimplemented in SMOMPI_Run, OMP_Run, and EXPR_Run.
| tBoolean CORE_Run::executeRun | ( | int | argc, |
| char * | argv[] | ||
| ) | const |
run the program from main class
| [in] | argc | number of arguments |
| [in] | argv | the char* value of the arguments |
|
inlinestatic |
return the class factory
|
inlineoverridevirtual |
return the memory size in byte
Reimplemented from CORE_Object.
|
inlinevirtual |
return the man of commands
| [in,out] | commandsMan | help on commank keys with its man as a map |
Reimplemented in SMOMPI_Run.
|
inlineoverridevirtual |
return the memory size of the class
Reimplemented from CORE_Object.
Reimplemented in MPI_Run, EXPR_Run, and SMOMPI_Run.
|
inlinestatic |
return the output stream
|
inlinestatic |
get soft name
|
inlinestatic |
get the version
|
inline |
default initialization of the options
| [in] | options | default values of the options |
|
inlinestatic |
init the seed for uniform random generator
| [in] | seed | : seed for uniform random generator |
|
inlinestatic |
return true if the machine is a 32 bits machine
|
inlinestatic |
return true if the machine is a 64 bits machine
|
virtual |
make Run command
| [in] | command | the command to run |
| [in] | options | the options of the program |
Reimplemented in SMOMPI_Run.
|
virtual |
make tests command
| [in] | options | the options of the program |
Reimplemented in SMOMPI_Run, OMP_Run, and EXPR_Run.
|
inlinestatic |
return the output stream
|
virtual |
print the help
| [in] | options | the options of the program |
Reimplemented in MPI_Run.
|
static |
read the input path & prefix from options
| [in] | options | : options of the program |
| [out] | inputPath | output path from options "input-path" and "current-path" |
| [out] | inputPrefix | output prefix from options "input-prefix" or "prefix" |
|
static |
read the output path &prefix from options
| [in] | options | : options of the program |
| [out] | outputPath | output path from options "output-path" and "current-path" |
| [out] | outputPrefix | output prefix from options "output-prefix" or "prefix" |
|
static |
read the path from options with optName
| [in] | options | : options of the program |
| [in] | optName | : name of the option |
|
inlinestatic |
set the log options
| [in] | options | options of the program |
|
static |
set the the log options
| [in] | options | options of the program |
|
inlinevirtual |
|
inline |
set the options class name
| [in] | c | : name of the options class name |
|
inlinestatic |
set soft name
| [in] | soft | name of the soft |
|
inlinestatic |
set the version
| version | name of the version set the version of the code |