Salome HOME
version 5_1_4 HOMARD_SRC
[modules/homard.git] / idl / HOMARD_Gen.idl
1 #ifndef __HOMARD_GEN__
2 #define __HOMARD_GEN__
3
4 #include "SALOME_Component.idl"
5 #include "SALOME_Exception.idl"
6 #include "SALOMEDS.idl"
7
8 #include "HOMARD_Cas.idl"
9 #include "HOMARD_Hypothesis.idl"
10 #include "HOMARD_Iteration.idl"
11 #include "HOMARD_Zone.idl"
12 #include "HOMARD_Boundary.idl"
13
14 module HOMARD
15 {
16   typedef sequence<string> listeHypotheses;
17   typedef sequence<string> listeZones;
18   typedef sequence<string> listeIterations;
19   typedef sequence<string> listeCases;
20   typedef sequence<string> listeBoundarys;
21
22   interface HOMARD_Gen : Engines::Component, SALOMEDS::Driver
23   {
24     HOMARD_Cas        CreateCase(in string nomCas, in string MeshName, in string FileName )
25                                                            raises (SALOME::SALOME_Exception);
26     HOMARD_Hypothesis CreateHypothesis(in string nomHypothesis )
27                                                            raises (SALOME::SALOME_Exception);
28     HOMARD_Iteration  CreateIteration(in string nomIter, in string nomIterParent )
29                                                            raises (SALOME::SALOME_Exception);
30     HOMARD_Zone       CreateZone(in string nomZone, in long typeZone)
31                                                            raises (SALOME::SALOME_Exception);
32     HOMARD_Boundary   CreateBoundary(in string nomBoundary, in long typeBoundary)
33                                                            raises (SALOME::SALOME_Exception);
34
35     void AssociateIterIter(in string nomIterParent, in string nomIter)
36                                                            raises (SALOME::SALOME_Exception);
37     void AssociateIterHypo(in string nomIter, in string nomHypothesis)
38                                                            raises (SALOME::SALOME_Exception);
39     void AssociateHypoZone(in string nomZone, in string nomHypothesis)
40                                                            raises (SALOME::SALOME_Exception);
41     void DissociateHypoZone(in string nomZone, in string nomHypothesis)
42                                                            raises (SALOME::SALOME_Exception);
43
44     void InvalideZone (in string nomZone)                  raises (SALOME::SALOME_Exception);
45     void InvalideHypo (in string nomHypo)                  raises (SALOME::SALOME_Exception);
46     void InvalideIter (in string nomIter)                  raises (SALOME::SALOME_Exception);
47
48     boolean  Compute (in string nomIter, in long etatMenage)
49                                                            raises (SALOME::SALOME_Exception);
50
51     boolean  VerifieDir (in string nomIter)                raises (SALOME::SALOME_Exception);
52
53     string  GetCaseName(in string nomIter)                 raises (SALOME::SALOME_Exception);
54
55     void  PublishFileUnderIteration(in string NomIter, in string NomFich, in string Commentaire)
56                                                            raises (SALOME::SALOME_Exception);
57     void  PublishResultInSmesh(in string NomFich, in long IconeType)
58                                                            raises (SALOME::SALOME_Exception);
59     HOMARD_Cas        GetCas(in string nomCas)             raises (SALOME::SALOME_Exception);
60     HOMARD_Boundary   GetBoundary(in string nomBoundary)   raises (SALOME::SALOME_Exception);
61     HOMARD_Zone       GetZone(in string nomZone)           raises (SALOME::SALOME_Exception);
62     HOMARD_Hypothesis GetHypothesis(in string nomHypo)     raises (SALOME::SALOME_Exception);
63     HOMARD_Iteration  GetIteration(in string nomIter)      raises (SALOME::SALOME_Exception);
64
65     listeCases      GetAllCases()                          raises (SALOME::SALOME_Exception);
66     listeBoundarys  GetAllBoundarys()                      raises (SALOME::SALOME_Exception);
67     listeHypotheses GetAllHypotheses()                     raises (SALOME::SALOME_Exception);
68     listeZones      GetAllZones()                          raises (SALOME::SALOME_Exception);
69     listeIterations GetAllIterations()                     raises (SALOME::SALOME_Exception);
70
71     void     SetCurrentStudy(in SALOMEDS::Study theStudy)  raises (SALOME::SALOME_Exception);
72     SALOMEDS::Study GetCurrentStudy()                      raises (SALOME::SALOME_Exception);
73   };
74 };
75
76 #endif
77