-//=============================================================================
-// File : DataFlowBase_DataNode.hxx
-// Created : 2002
-// Author : Jean Rahuel, CEA
-// Project : SALOME
-// $Header:
-//=============================================================================
+// SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
+//
+// 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 : DataFlowBase_DataNode.hxx
+// Author : Jean Rahuel, CEA
+// Module : SUPERV
+// $Header:
#ifndef _DATAFLOWBASE_DATANODE_HXX
#define _DATAFLOWBASE_DATANODE_HXX
-#include "DataFlowBase_InLineNode.hxx"
+#include "DataFlowBase_GOTONode.hxx"
namespace GraphBase {
- class DataNode : public InLineNode {
+ class DataNode : public GOTONode {
private:
- GraphBase::PortsOfNode * _DataFlowDataPorts ;
bool _Created ;
+ protected :
+
+ GraphBase::PortsOfNode * _DataFlowDataPorts ;
+
public:
DataNode() ;
DataNode( CORBA::ORB_ptr ORB ,
SALOME_NamingService* ptrNamingService ,
- const char *DataFlowName ) ;
+ const char *DataFlowName ,
+ const SUPERV::KindOfNode DataFlowkind ,
+ int * Graph_prof_debug ,
+ ofstream * Graph_fdebug ) ;
DataNode( CORBA::ORB_ptr ORB ,
SALOME_NamingService* ptrNamingService ,
const SALOME_ModuleCatalog::Service& DataFlowService ,
void DataService( CORBA::ORB_ptr ORB ,
const SALOME_ModuleCatalog::Service aService ,
int * Graph_prof_debug ,
- ostream * Graph_fdebug ) ;
+ ofstream * Graph_fdebug ) ;
int CheckDataServerNodes() const ;
InPort * GetChangeOutDataNodePort( const char * DataFlowOutPortName ) {
return _DataFlowDataPorts->GetChangeInPort( DataFlowOutPortName ) ; } ;
- void DataNodeInfo(ostrstream & s ) const ;
+ void DataNodeInfo(ostream & s ) const ;
- void ListDatas(ostrstream & f) const ;
+ void ListDatas(ostream & f) const ;
// bool SaveXML( ostream &f , char *Tabs ,
bool SaveXML( QDomDocument & Graph , QDomElement & info ,