source: trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Configuration_Parameters.h @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1#ifndef morpheo_behavioural_Configuration_Parameters_h
2#define morpheo_behavioural_Configuration_Parameters_h
3#ifdef CONFIGURATION
4
5/*
6 * $Id: Configuration_Parameters.h 81 2008-04-15 18:40:01Z rosiere $
7 *
8 * [ Description ]
9 *
10 */
11
12#include <stdint.h>
13#include <iostream>
14#include "Behavioural/include/XML.h"
15#include "Behavioural/include/Environment.h"
16#include "Common/include/ErrorMorpheo.h"
17#include "Common/include/ToString.h"
18
19namespace morpheo     {
20namespace behavioural {
21
22  class Configuration_Parameters
23  {
24    // -----[ fields ]----------------------------------------------------
25    // Constant
26  public   : const std::string _name   ;
27  public   : const uint32_t    _value  ;
28  public   : const uint32_t    _min    ;
29  public   : const uint32_t    _max    ;
30  public   : const std::string _step   ;
31  public   : const uint32_t    _default;
32  public   : const uint32_t    _level  ;
33  public   : const std::string _comment;
34
35    // -----[ methods ]---------------------------------------------------
36  public   :                 Configuration_Parameters  (std::string name   ,
37                                                        uint32_t    value  ,
38                                                        uint32_t    min    ,
39                                                        uint32_t    max    ,
40                                                        std::string step   ,
41                                                        uint32_t    value_default,
42                                                        uint32_t    level  ,
43                                                        std::string comment);
44  public   :                 ~Configuration_Parameters ();
45
46    // methods to print and test parameters_configuration
47  public   : std::string          print                      (uint32_t depth);
48  public   : friend std::ostream& operator<<                 (std::ostream& output_stream,
49                                                              morpheo::behavioural::Configuration_Parameters & x);
50  };
51
52}; // end namespace behavioural         
53}; // end namespace morpheo             
54
55#endif
56#endif
Note: See TracBrowser for help on using the repository browser.