C++ main module for mmsd Package  1.0
UI_Object.h
Go to the documentation of this file.
1 #ifndef UI_Object_H
2 #define UI_Object_H
3 
4 #include "CORE_Object.h"
5 
7 
23 class UI_Object : public virtual CORE_Object {
24 
25  SP_OBJECT(UI_Object);
26  // ATTRIBUTES
27  tBoolean mHasBeenLoaded;
28 
29  // ASSOCIATIONS
30 
31 
32 protected:
33  // METHODS
34 
35  // CONSTRUCTORS
36 
38  UI_Object(void);
39 
40 
41 
42  // DESTRUCTORS
43 
44 
47  virtual ~UI_Object(void);
48 
49 
50 public:
51  // SET methods
52 
55  inline void setHasBeenLoaded(const tBoolean& v) {mHasBeenLoaded=v;};
56 
57  // GET methods
60  inline tBoolean hasBeenLoaded() const {return mHasBeenLoaded;};
61  // OTHERS methods
62 
63 
64  // SAVER & LOADER methods for User Interface
65 public:
68  virtual void loadFromUIClass(const UI_Class& mclass);
71  virtual void saveToUIClass(UI_Class& mclass) const;
72 
73 
74 };
75 
76 #endif
This class is the base class of User Interface package.
Definition: UI_Object.h:23
This class describes the main interface class for a soft user interface (R,matlab,python etc...) class.
Definition: UI_Class.h:38
void setHasBeenLoaded(const tBoolean &v)
set the if the object has completely been loaded
Definition: UI_Object.h:55
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: UI_Object.cpp:15
#define tBoolean
Definition: types.h:48
tBoolean hasBeenLoaded() const
return true if the object has completely been loaded
Definition: UI_Object.h:60
UI_Object(void)
create
Definition: UI_Object.cpp:6
abstract base class for most classes.
Definition: CORE_Object.h:30
virtual ~UI_Object(void)
destroy
Definition: UI_Object.cpp:11
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: UI_Object.cpp:18
DEFINE_SPTR(UI_Class)