-//=============================================================================
-// File : Graph_Impl.hxx
-// Created : Nov 2001
-// Author : Jean Rahuel
-// Project : SALOME
-// Copyright : CEA 2001
-// $Header:
-//=============================================================================
+// 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 : Graph_Impl.hxx
+// Author : Jean Rahuel
+// Module : SUPERV
+// $Header:
#ifndef _GRAPH_IMPL_HXX_
#define _GRAPH_IMPL_HXX_
-#include <iostream.h>
+//#include <iostream.h>
#include "CORBA.h"
SALOME_NamingService * _NamingService ;
char * _DebugFileName ;
+ pthread_mutex_t _MutexExecutorWait ;
GraphExecutor::DataFlow * _DataFlowExecutor ;
- int _ExecNumber ;
SUPERV::Graph_var myServant; // mpv 23.12.2002: store servant of graph to get constant IOR
public:
virtual void ReadOnly() ;
- virtual SUPERV::INode_ptr GetNode() ;
+ virtual SUPERV::INode_ptr Node() ;
// virtual char * DataFlowInfo() ;
// virtual char * DataNodeInfo() ;
const SUPERV::ListOfStrings & PythonFunction ,
SUPERV::INode_out anEndOfSwitch ) ;
- virtual SUPERV::CNode_ptr GetNode( const char * NodeName );
+ virtual SUPERV::CNode_ptr Node( const char * NodeName );
virtual SUPERV::Link_ptr Link( SUPERV::Port_ptr OutPort ,
SUPERV::Port_ptr InPort ) ;
virtual SUPERV::ListOfNodes_var Graph_Impl::SetNode( SUPERV::ListOfNodes_var RetVal ,
GraphBase::ComputingNode * aNode ) ;
virtual SUPERV::ListOfNodes * Nodes() ;
+ virtual void SetNodeObjRef( GraphEditor::InNode * anInNode ) ;
virtual SUPERV::ListOfLinks * GLinks() ;
virtual SUPERV::ListOfLinks * Links( GraphBase::ComputingNode * aNode ,
const char * anInputParam ) ;
virtual bool EventW( SUPERV::CNode_out aNode ,
SUPERV::GraphEvent & anEvent ,
SUPERV::GraphState & aState ) ;
+ virtual long EventQSize() ;
virtual bool Merge(const SUPERV::Graph_ptr aGraph ) ;