ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mailleur/src/mailleur.h
Revision: 494
Committed: Thu Mar 6 20:39:09 2014 UTC (11 years, 2 months ago) by francois
Content type: text/plain
File size: 1928 byte(s)
Log Message:
Possibilité d'enregistrement des mailleurs en cours de maillage pour voir ce qui se passe si il y a un bug

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    
40     class DLLPORTMAIL MAILLEUR
41     {
42     public :
43 francois 494 MAILLEUR(bool save,class OT_CPU* comp=NULL);
44 francois 425 MAILLEUR(MAILLEUR &mdd);
45     virtual ~MAILLEUR();
46 francois 283 static double priorite_metrique;
47 francois 425 //virtual void 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    
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 283
58     protected:
59 francois 445 fonction_affiche *affiche2;
60     int affichageactif;
61 francois 283 OT_CPU* compteur;
62 francois 494 bool savedbg;
63     char nomfichierdbg[500];
64 francois 283 };
65    
66    
67    
68    
69    
70    
71     #endif