/*
 * $Id: Model_set_model.cpp 118 2009-05-20 22:01:32Z rosiere $
 *
 * [ Description ]
 * 
 */

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

namespace morpheo              {
namespace behavioural          {

#undef  FUNCTION
#define FUNCTION "Model::set_model"
  void Model::set_model (std::string component, model_type_t type, bool debug)
  {
    log_begin(Behavioural,FUNCTION);

    model_t model;
    model.type  = type ;
    model.debug = debug;

    models [component] = model;

    log_end(Behavioural,FUNCTION);
  }

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