C++ main module for emicrom Package  1.0
EMM_Object.h
Go to the documentation of this file.
1 #ifndef EMM_Object_H
2 #define EMM_Object_H
3 
4 #include "CORE_Object.h"
5 #include "CORE_ListPointers.h"
6 #include "CORE_Thread.h"
7 
8 //inclide the exception by default
9 #include "EMM_Exception.h"
10 
11 #include "EMM_Types.h"
12 
21 class EMM_Object : public virtual CORE_Object {
22 
24  // ATTRIBUTES
25 
26 public:
27  //vacuum permeability \f$ \mu_0)4. \pi . 1.e^{-7} m.kg.s^{-2}.A^{-2} \f$
28  static const tReal Mu0;
29 
30  //gyroscopic precession $ \gamma=-1.7e^{11} A.s.kg^{-1} $
31  static const tReal Gamma;
32 
33  static const tDimension X=0;
34  static const tDimension Y=1;
35  static const tDimension Z=2;
36 
37  //null value for a vector
38  static const tReal NULL_VALUE[];
39 
40 
41 private:
42 
43 
44 protected:
45  // METHODS
46 
47  // CONSTRUCTORS
48 
51  EMM_Object(void);
52 
53 
54 
55  // DESTRUCTORS
56 
57 
60  virtual ~EMM_Object(void);
61 
62 
63 private:
64  // SET methods
65 
66 
67 protected:
71  virtual void toDoAfterThisSetting() {
72  };
73 
74 
75  // GET methods
76 
77 public:
78  // OTHERS methods
79 
80 
81 };
82 
83 #endif
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
static const tReal Mu0
Definition: EMM_Object.h:28
virtual ~EMM_Object(void)
destroy
Definition: EMM_Object.cpp:20
static const tDimension Y
Definition: EMM_Object.h:34
EMM_Object(void)
create
Definition: EMM_Object.cpp:17
SP_OBJECT(EMM_Object)
static const tDimension X
Definition: EMM_Object.h:33
static const tReal NULL_VALUE[]
Definition: EMM_Object.h:38
#define tDimension
Definition: EMM_Types.h:10
static const tReal Gamma
Definition: EMM_Object.h:31
virtual void toDoAfterThisSetting()
method called after the setting of the shared pointer this method can only be called once...
Definition: EMM_Object.h:71
DEFINE_SPTR(EMM_Object)
abstract base class for most classes.
Definition: CORE_Object.h:53
static const tDimension Z
Definition: EMM_Object.h:35
#define tReal
Definition: types.h:118