/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE 00002 // 00003 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, 00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 00005 // 00006 // This library is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public 00008 // License as published by the Free Software Foundation; either 00009 // version 2.1 of the License. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 // 00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com 00021 // 00022 // File : SALOME_Ports.idl 00023 // Author : Eric Fayolle, EDF 00024 // 00025 #ifndef _CALCIUM_PORTS_IDL_ 00026 #define _CALCIUM_PORTS_IDL_ 00027 00028 #include "SALOME_Ports.idl" 00029 00030 module Ports { 00031 00032 module Calcium_Ports { 00033 00034 const long UNLIMITED_STORAGE_LEVEL = -70; 00035 enum DependencyType { UNDEFINED_DEPENDENCY, TIME_DEPENDENCY, ITERATION_DEPENDENCY }; 00036 enum DateCalSchem { TI_SCHEM, TF_SCHEM , ALPHA_SCHEM}; 00037 enum InterpolationSchem { L0_SCHEM, L1_SCHEM }; 00038 enum ExtrapolationSchem { UNDEFINED_EXTRA_SCHEM, E0_SCHEM, E1_SCHEM}; 00039 00040 // enum DisconnectDirective {UNDEFINED_DIRECTIVE,CONTINUE,STOP}; 00041 typedef boolean DisconnectDirective; 00042 const DisconnectDirective stop = FALSE; 00043 const DisconnectDirective cont = TRUE; 00044 00045 interface Calcium_Port : Ports::Data_Port, Ports::PortProperties { 00046 void disconnect(in DisconnectDirective mode); 00047 }; 00048 00049 typedef sequence<long> seq_long; 00050 typedef sequence<long long> seq_long_long; 00051 typedef sequence< long > seq_integer; 00052 00053 typedef sequence<float> seq_float; 00054 typedef sequence<double> seq_double; 00055 typedef sequence<string> seq_string; 00056 typedef sequence<boolean> seq_boolean; 00057 typedef seq_float seq_complex; 00058 00059 //Fortran int size conforming port 00060 interface Calcium_Integer_Port : Calcium_Port { 00061 void put (in seq_integer data, in double time, in long tag); 00062 }; 00063 00064 interface Calcium_Intc_Port : Calcium_Port { 00065 void put (in seq_long data, in double time, in long tag); 00066 }; 00067 00068 interface Calcium_Long_Port : Calcium_Port { 00069 void put (in seq_long_long data, in double time, in long tag); 00070 }; 00071 00072 00073 interface Calcium_Real_Port : Calcium_Port { 00074 void put (in seq_float data, in double time, in long tag); 00075 }; 00076 00077 interface Calcium_Double_Port : Calcium_Port { 00078 void put (in seq_double data, in double time, in long tag); 00079 }; 00080 00081 interface Calcium_String_Port : Calcium_Port { 00082 void put (in seq_string data, in double time, in long tag); 00083 }; 00084 00085 interface Calcium_Logical_Port : Calcium_Port { 00086 void put (in seq_boolean data, in double time, in long tag); 00087 }; 00088 00089 interface Calcium_Complex_Port : Calcium_Port { 00090 void put (in seq_complex data, in double time, in long tag); 00091 }; 00092 00093 }; 00094 }; 00095 00096 #endif