C++ main module for emicrom Package  1.0
EMM_TensorsRun.h
Go to the documentation of this file.
1 #ifndef EMM_TensorsRun_H
2 #define EMM_TensorsRun_H
3 
4 #include "CORE_Run.h"
5 #include "OMP_Thread.h"
6 
7 
8 
26 class EMM_TensorsRun : public CORE_Run {
28 
29  //attributes
30 private :
31 
32 protected:
33  // CONSTRUCTORS
37  setSoftName("emicrom_math_tensors.exe");
38  //set the thread to openmp
40  }
41 
42  // DESTRUCTORS
45  virtual ~EMM_TensorsRun(void) {
46  }
47 
48 public:
52  inline static SP::EMM_TensorsRun New() {
53  SP::EMM_TensorsRun p(new EMM_TensorsRun(),EMM_TensorsRun::Delete());
54  p->setThis(p);
55  return p;
56  };
57 
58 
59 protected:
62  virtual tBoolean makeTests(const map<tString,tString>& options) const;
63 
64 
65 protected:
69  virtual void createClassFactories(const map<tString,tString>& options) const;
70 };
71 
72 
73 #endif
virtual void createClassFactories(const map< tString, tString > &options) const
create the class factories as mentioned in options
Definition: EMM_TensorsRun.cpp:7
static SP::EMM_TensorsRun New()
create a run class
Definition: EMM_TensorsRun.h:52
SP_OBJECT(EMM_TensorsRun)
void setSoftName(const tString &soft)
set soft name
Definition: CORE_Run.h:76
static SP::OMP_Thread New()
create an instance of thread
Definition: OMP_Thread.h:52
This class is a Run class for Common package.
Definition: CORE_Run.h:38
Definition: EMM_TensorsRun.h:26
#define tBoolean
Definition: types.h:139
static void setThread(SP::CORE_Thread thread)
set the thread
Definition: CORE_Object.h:184
virtual ~EMM_TensorsRun(void)
destroy
Definition: EMM_TensorsRun.h:45
EMM_TensorsRun(void)
create
Definition: EMM_TensorsRun.h:36
DEFINE_SPTR(EMM_TensorsRun)
virtual tBoolean makeTests(const map< tString, tString > &options) const
run the tests
Definition: EMM_TensorsRun.cpp:30
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141