]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphBase/DataFlowBase_StreamGraph.hxx
Salome HOME
*** empty log message ***
[modules/superv.git] / src / GraphBase / DataFlowBase_StreamGraph.hxx
diff --git a/src/GraphBase/DataFlowBase_StreamGraph.hxx b/src/GraphBase/DataFlowBase_StreamGraph.hxx
new file mode 100644 (file)
index 0000000..0d7d22f
--- /dev/null
@@ -0,0 +1,74 @@
+//  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
+//
+//  Copyright (C) 2003  CEA/DEN, EDF R&D
+//
+//
+//
+//  File   : DataFlowBase_StreamGraph.hxx
+//  Author : Jean Rahuel
+//  Module : SUPERV
+//  $Header:
+
+#ifndef _DATAFLOWBASE_STREAMGRAPH_HXX
+#define _DATAFLOWBASE_STREAMGRAPH_HXX
+
+#include "DataFlowBase_Graph.hxx"
+
+namespace GraphBase {
+
+  class StreamGraph : public Graph {
+
+    private:
+    
+// Configuration :
+// The name is the name of the graph
+      long                          _Timeout ;
+      SUPERV::KindOfDataStreamTrace _DataStreamTrace ;
+      double                        _DeltaTime ;
+
+    protected:
+
+    public:
+
+      StreamGraph() ;
+
+      StreamGraph( CORBA::ORB_ptr ORB ,
+                       SALOME_NamingService* ptrNamingService ,
+                       const char * DataFlowName ,
+                       int * Graph_prof_debug ,
+                       ofstream * Graph_fdebug ) ;
+//                       const char * DebugFileName ) ;
+
+      StreamGraph( CORBA::ORB_ptr ORB ,
+                       SALOME_NamingService * ptrNamingService ,
+                       const SALOME_ModuleCatalog::Service & DataFlowService ,
+                       const char * DataFlowComponentName ,
+                       const char * DataFlowInterfaceName ,
+                       const char * DataFlowName ,
+                       const SUPERV::KindOfNode DataFlowkind ,
+                       const SUPERV::SDate DataFlowFirstCreation ,
+                       const SUPERV::SDate DataFlowLastModification ,
+                       const char * DataFlowEditorRelease ,
+                       const char * DataFlowAuthor ,
+                       const char * DataFlowComputer ,
+                       const char * DataFlowComment ,
+                       int * Graph_prof_debug ,
+                       ofstream * Graph_fdebug ) ;
+//                       const char * DebugFileName ) ;
+
+      virtual ~StreamGraph() ;
+
+      virtual bool SetStreamParams( const long Timeout ,
+                                    const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
+                                    const double  DeltaTime ) ;
+      virtual void StreamParams( long & Timeout ,
+                                 SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
+                                 double & DeltaTime ) const ;
+
+  };
+
+};
+
+ostream & operator<< (ostream &,const SUPERV::KindOfDataStreamTrace &);
+
+#endif