Salome HOME
Change configuration
[modules/superv.git] / src / GraphBase / DataFlowBase_DataNode.hxx
index d3ed5e08b633ead510603d47a08e5626ea79d7b1..57be206b3c0588a7089c3ee3f11b375b25dcbd5c 100644 (file)
 #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 ,
@@ -61,7 +67,7 @@ namespace GraphBase {
       void DataService( CORBA::ORB_ptr ORB ,
                         const SALOME_ModuleCatalog::Service aService ,
                         int * Graph_prof_debug ,
-                        ostream * Graph_fdebug ) ;
+                        ofstream * Graph_fdebug ) ;
 
       int CheckDataServerNodes() const ;
 
@@ -86,9 +92,9 @@ namespace GraphBase {
       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 ,