]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/Supervision/StreamGraph_Impl.hxx
Salome HOME
This commit was generated by cvs2git to create branch
[modules/superv.git] / src / Supervision / StreamGraph_Impl.hxx
diff --git a/src/Supervision/StreamGraph_Impl.hxx b/src/Supervision/StreamGraph_Impl.hxx
new file mode 100644 (file)
index 0000000..99ade22
--- /dev/null
@@ -0,0 +1,86 @@
+//  SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : StreamGraph_Impl.hxx
+//  Author : Jean Rahuel
+//  Module : SUPERV
+//  $Header: 
+
+#ifndef _STREAMGRAPH_IMPL_HXX_
+#define _STREAMGRAPH_IMPL_HXX_
+
+//#include <iostream.h>
+
+#include "CORBA.h"
+
+#include <SALOMEconfig.h>
+#include "SALOME_Component_i.hxx"
+#include "SALOME_LifeCycleCORBA.hxx"
+
+#include "Graph_Impl.hxx"
+
+class StreamGraph_Impl : public Graph_Impl ,
+                         public POA_SUPERV::StreamGraph {
+  private:
+
+    CORBA::ORB_ptr _Orb ;
+    PortableServer::POA_ptr _Poa ;
+    PortableServer::ObjectId * _ContId ;
+
+  public:
+    StreamGraph_Impl();
+    StreamGraph_Impl( CORBA::ORB_ptr orb ,
+                     PortableServer::POA_ptr poa ,
+                     PortableServer::ObjectId * contId , 
+                     const char *instanceName ,
+                      const char *interfaceName ,
+                      const char *aDataFlowName ) ;
+
+      virtual ~StreamGraph_Impl() ;
+      virtual void destroy() ;
+
+      virtual SUPERV::StreamGraph_ptr StreamCopy() ;
+
+      virtual SUPERV::StreamLink_ptr StreamLink(  SUPERV::StreamPort_ptr OutStreamPort ,
+                                                  SUPERV::StreamPort_ptr InStreamPort ) ;
+
+      virtual SUPERV::ListOfStreamLinks * GStreamLinks() ;
+
+      virtual SUPERV::ListOfStreamLinks * StreamLinks( GraphBase::ComputingNode * aNode ,
+                                                       const char * anInputParam ) ;
+
+      virtual bool SetStreamParams( const long Timeout ,
+                                    const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
+                                    const double  DeltaTime ) ;
+      virtual void StreamParams( long & Timeout ,
+                                 SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
+                                 double & DeltaTime ) ;
+
+      virtual SUPERV::Graph_ptr ToFlowGraph() ;
+
+      bool StreamMerge( const SUPERV::StreamGraph_ptr aStreamGraph ) ;
+
+};
+
+
+#endif