- Timestamp:
- May 21, 2009, 12:01:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Model.h
r113 r118 9 9 */ 10 10 11 #include "Common/include/Debug.h" 11 #include "Common/include/ToString.h" 12 #include "Common/include/FromString.h" 12 13 #include "Common/include/ErrorMorpheo.h" 13 14 #include <map> … … 24 25 typedef struct 25 26 { 26 model_type_t 27 debug_verbosity_tdebug;27 model_type_t type ; 28 bool debug; 28 29 } model_t; 29 30 30 31 class Model 31 32 { 32 private : static const model_type_t 33 private : static const debug_verbosity_t default_debug = DEBUG_NONE;33 private : static const model_type_t default_type = MODEL_SYSTEMC; 34 private : static const bool default_debug = false; 34 35 35 36 private : std::map<std::string,model_t> models; 36 37 37 public : 38 public : 39 public : void set_model (std::string component, model_type_t type, debug_verbosity_tdebug);40 public : model_type_t 41 public : debug_verbosity_tget_debug (std::string component);42 public : void 38 public : Model (void); 39 public : ~Model (void); 40 public : void set_model (std::string component, model_type_t type, bool debug); 41 public : model_type_t get_type (std::string component); 42 public : bool get_debug (std::string component); 43 public : void print (void); 43 44 }; 44 45
Note: See TracChangeset
for help on using the changeset viewer.