ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mailleur/src/mailleur.h
Revision: 966
Committed: Thu Sep 6 16:46:34 2018 UTC (6 years, 8 months ago) by couturad
Content type: text/plain
File size: 2114 byte(s)
Log Message:
Ajout de l'histogramme a MAGIC_PLOT
Ajout d'une sortie OK ou FAIL (int) au MAILLEUR afin de gerer certaines exceptions
Ajout d'une phase RSA a la fin du generateur DCR

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4     // Jean Christophe Cuilli�re et Vincent FRANCOIS
5     // D�partement de G�nie M�canique - UQTR
6     //------------------------------------------------------------
7     // Le projet MAGIC est un projet de recherche du d�partement
8     // de g�nie m�canique de l'Universit� du Qu�bec �
9     // Trois Rivi�res
10     // Les librairies ne peuvent �tre utilis�es sans l'accord
11     // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // mailleur.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef _MAILLEUR_
24     #define _MAILLEUR_
25    
26     #ifdef WINDOWS_VERSION
27     #ifdef BUILT_DLL_MAILLEUR
28     #define DLLPORTMAIL __declspec(dllexport)
29     #else
30     #define DLLPORTMAIL __declspec(dllimport)
31     #endif
32     #else
33     #define DLLPORTMAIL
34     #endif
35    
36    
37     #include <stdlib.h>
38     #include <string>
39 francois 632 #include "ot_parametres.h"
40 francois 283
41     class DLLPORTMAIL MAILLEUR
42     {
43     public :
44 francois 494 MAILLEUR(bool save,class OT_CPU* comp=NULL);
45 francois 425 MAILLEUR(MAILLEUR &mdd);
46     virtual ~MAILLEUR();
47 couturad 966 virtual int maille(class MG_GROUPE_TOPOLOGIQUE* mggt=NULL) = 0;
48 francois 445 typedef void fonction_affiche(char *);
49     void active_affichage(fonction_affiche *fonc);
50 francois 494 virtual void change_nom_fichierdbg(char *nom);
51 francois 558 virtual void change_priorite_metrique(double val);
52 francois 445
53 francois 283 void refresh(void);
54 francois 445
55 francois 425 void affiche(char *mess);
56 francois 445 void ajouter_etape_cpu(std::string nom);
57 francois 532
58     void change_pas_integration(int val);
59 francois 632 void ini_param(void);
60    
61 francois 283 protected:
62 francois 445 fonction_affiche *affiche2;
63     int affichageactif;
64 francois 283 OT_CPU* compteur;
65 francois 494 bool savedbg;
66     char nomfichierdbg[500];
67 francois 558 double priorite_metrique;
68 francois 532 int pas;
69 francois 632 OT_PARAMETRES param;
70 francois 283 };
71    
72    
73    
74    
75    
76    
77     #endif