#ifndef morpheo_behavioural_core_multi_ooo_engine_ooo_engine_special_register_unit_Parameters_h
#define morpheo_behavioural_core_multi_ooo_engine_ooo_engine_special_register_unit_Parameters_h

/*
 * $Id: Parameters.h 117 2009-05-16 14:42:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Parameters.h"
#include "Common/include/Debug.h"

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_ooo_engine {
namespace ooo_engine {
namespace special_register_unit {


  class Parameters : public morpheo::behavioural::Parameters
  {
    //-----[ fields ]------------------------------------------------------------
  public : uint32_t     _nb_front_end          ;
  public : uint32_t   * _nb_context            ;//[nb_front_end]
  public : uint32_t     _nb_inst_reexecute     ;
  public : bool     *** _implement_group       ;//[nb_front_end][nb_context][NB_GROUP]
  public : uint32_t  ** _translate_num_context_to_num_thread; //[nb_front_end][nb_context]

  public : uint32_t     _max_nb_context        ;
//public : uint32_t     _size_front_end_id     ;
//public : uint32_t     _size_context_id       ;
//  		      
//public : bool         _have_port_front_end_id;
//public : bool         _have_port_context_id  ;


    //-----[ methods ]-----------------------------------------------------------
  public : Parameters  (uint32_t     nb_front_end          ,
			uint32_t   * nb_context            ,
			uint32_t     nb_inst_reexecute     ,
			bool     *** implement_group       ,
                        uint32_t  ** translate_num_context_to_num_thread, //[nb_front_end][nb_context]
                        bool         is_toplevel=false
			);
//   public : Parameters  (Parameters & param) ;
  public : ~Parameters () ;

  public :        void            copy       (void);

  public :        Parameters_test msg_error  (void);

  public :        std::string     print      (uint32_t depth);
  public : friend std::ostream&   operator<< (std::ostream& output_stream,
					    morpheo::behavioural::core::multi_ooo_engine::ooo_engine::special_register_unit::Parameters & x);
  };

}; // end namespace special_register_unit
}; // end namespace ooo_engine
}; // end namespace multi_ooo_engine
}; // end namespace core

}; // end namespace behavioural
}; // end namespace morpheo              

#endif
