Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / src / GraphBase / DataFlowBase_InDataStreamPort.hxx
1 //  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : DataFlowBase_InDataStreamPort.hxx
8 //  Author : Jean Rahuel
9 //  Module : SUPERV
10 //  $Header:
11
12 #ifndef _DATAFLOWBASE_INDATASTREAMPORT_HXX
13 #define _DATAFLOWBASE_INDATASTREAMPORT_HXX
14
15 #include "DataFlowBase_OutPort.hxx"
16
17 namespace GraphBase {
18
19   class InDataStreamPort : public InPort {
20
21     private:
22
23 // if TimeDependency :
24       SUPERV::KindOfSchema        _KindOfSchema ;
25       SUPERV::KindOfInterpolation _KindOfInterpolation ;
26       SUPERV::KindOfExtrapolation _KindOfExtrapolation ;
27
28     protected:
29
30     public:
31
32       InDataStreamPort() ;
33
34       InDataStreamPort( const char *const * NodeName  ,
35                         const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ,
36                         const SALOME_ModuleCatalog::DataStreamDependency aDependency = SALOME_ModuleCatalog::DATASTREAM_UNDEFINED ,
37                         const SUPERV::KindOfSchema aKindOfSchema = SUPERV::SCHENULL ,
38                         const SUPERV::KindOfInterpolation aKindOfInterpolation = SUPERV::INTERNULL ,
39                         const SUPERV::KindOfExtrapolation aKindOfExtrapolation = SUPERV::EXTRANULL ) ;
40
41       virtual ~InDataStreamPort() ;
42
43       bool SetParams( const SUPERV::KindOfSchema aKindOfSchema ,
44                       const SUPERV::KindOfInterpolation aKindOfInterpolation ,
45                       const SUPERV::KindOfExtrapolation aKindOfExtrapolation ) ;
46
47       void Params( SUPERV::KindOfSchema & aKindOfSchema ,
48                    SUPERV::KindOfInterpolation & aKindOfInterpolation ,
49                    SUPERV::KindOfExtrapolation & aKindOfExtrapolation ) const ;
50
51   };
52   
53 };
54
55 ostream & operator<< (ostream &,const SUPERV::KindOfSchema &);
56
57 ostream & operator<< (ostream &,const SUPERV::KindOfInterpolation &);
58
59 ostream & operator<< (ostream &,const SUPERV::KindOfExtrapolation &);
60
61 #endif
62
63
64
65