Salome HOME
Integration of 0019971: A patch for cmake compilation.
[modules/kernel.git] / idl / Calcium_Ports.idl
1 //  Copyright (C) 2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3 // 
4 //  This library is free software; you can redistribute it and/or 
5 //  modify it under the terms of the GNU Lesser General Public 
6 //  License as published by the Free Software Foundation; either 
7 //  version 2.1 of the License. 
8 // 
9 //  This library is distributed in the hope that it will be useful, 
10 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 //  Lesser General Public License for more details. 
13 // 
14 //  You should have received a copy of the GNU Lesser General Public 
15 //  License along with this library; if not, write to the Free Software 
16 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
17 // 
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 //  File   : SALOME_Ports.idl
21 //  Author : Eric Fayolle, EDF
22
23 #ifndef _CALCIUM_PORTS_IDL_
24 #define _CALCIUM_PORTS_IDL_
25
26 #include "SALOME_Ports.idl"
27
28 module Ports {
29
30   module Calcium_Ports {
31
32     const long UNLIMITED_STORAGE_LEVEL = -70;   
33     enum DependencyType      { UNDEFINED_DEPENDENCY, TIME_DEPENDENCY, ITERATION_DEPENDENCY };
34     enum DateCalSchem        { TI_SCHEM, TF_SCHEM , ALPHA_SCHEM};
35     enum InterpolationSchem  { L0_SCHEM, L1_SCHEM };
36     enum ExtrapolationSchem  { UNDEFINED_EXTRA_SCHEM, E0_SCHEM, E1_SCHEM};
37
38     //    enum DisconnectDirective {UNDEFINED_DIRECTIVE,CONTINUE,STOP};
39     typedef boolean DisconnectDirective;
40     const DisconnectDirective stop = FALSE;
41     const DisconnectDirective cont = TRUE;
42
43     interface Calcium_Port : Ports::Data_Port, Ports::PortProperties {
44       void disconnect(in DisconnectDirective mode);
45     };
46
47     typedef sequence<long>    seq_long;
48     typedef sequence<float>   seq_float;
49     typedef sequence<double>  seq_double;
50     typedef sequence<string>  seq_string;
51     typedef sequence<boolean> seq_boolean;
52     typedef seq_float         seq_complex;
53
54     interface Calcium_Integer_Port : Calcium_Port {
55       void put (in seq_long data, in double time, in long tag);
56     };
57
58     interface Calcium_Real_Port : Calcium_Port {
59       void put (in seq_float data, in double time, in long tag);
60     };
61
62     interface Calcium_Double_Port : Calcium_Port {
63       void put (in seq_double data, in double time, in long tag);
64     };
65
66     interface Calcium_String_Port : Calcium_Port {
67       void put (in seq_string data, in double time, in long tag);
68     };
69
70     interface Calcium_Logical_Port : Calcium_Port {
71       void put (in seq_boolean data, in double time, in long tag);
72     };
73
74     interface Calcium_Complex_Port : Calcium_Port {
75       void put (in seq_complex data, in double time, in long tag);
76     };
77
78   };
79 };
80
81 #endif