Salome HOME
NRI : Merge from 1.2c.
[modules/superv.git] / src / Supervision / INode_Impl.cxx
index 29689d1c44e26cb469efc23dc6b91617fc4466d0..dce4335fcb09e40f146bd1b6f755ddf9aba6f9f0 100644 (file)
 using namespace std;
 #include <stdio.h>
 #include <fstream>
-#include <strstream>
+//#include <sstream>
 #include <string>
 
-#include "utilities.h"
+//#include "utilities.h"
 
 #include "LNode_Impl.hxx"
 
@@ -56,8 +56,8 @@ INode_Impl::INode_Impl( CORBA::ORB_ptr orb ,
   CNode_Impl( orb , poa , contId , instanceName , interfaceName , aDataFlowEditor , SALOME_ModuleCatalog::Service() , FuncName , NodeKindOfNode , FuncName , aPythonFunction ) {
   beginService( "INode_Impl::INode_Impl" );
   if ( FuncName ) {
-    cout << "INode_Impl::CNode_Impl " << (void *) FuncName << " " << FuncName
-         << " " << strlen( FuncName ) << endl ;
+//    cout << "INode_Impl::CNode_Impl " << (void *) FuncName << " " << FuncName
+//         << " " << strlen( FuncName ) << endl ;
   }
   if ( NodeKindOfNode == SUPERV::InLineNode ) {
     MESSAGE( "INode_Impl::INode_Impl " << FuncName << " _poa->activate_object" );
@@ -184,6 +184,8 @@ SUPERV::Port_ptr INode_Impl::InPort( const char *aParameterName ,
   SUPERV::Port_ptr InEndobject = SUPERV::Port::_nil() ;
   Port_Impl * myInPort = NULL ;
   bool InPortCreated = false ;
+  MESSAGE( "INode_Impl::InPort " << DataFlowNode()->Name() << "->AddInPort( " << aParameterName << " , "
+           << aParameterType ) ;
   GraphBase::InPort * anInPort = DataFlowNode()->GetChangeInPort( aParameterName ) ;
   if ( anInPort == NULL && DataFlowNode()->IsOneOfInLineNodes() ) {
     anInPort = DataFlowNode()->AddInPort( aParameterName , aParameterType ) ;
@@ -225,6 +227,8 @@ SUPERV::Port_ptr INode_Impl::OutPort( const char *aParameterName ,
                                       const char *aParameterType ) {
   Port_Impl * myOutPort = NULL ;
   SUPERV::Port_ptr Outobject = SUPERV::Port::_nil() ;
+  MESSAGE( "INode_Impl::OutPort " << DataFlowNode()->Name() << "->AddOutPort( " << aParameterName << " , "
+           << aParameterType ) ;
   GraphBase::OutPort * anOutPort = DataFlowNode()->GetChangeOutPort( aParameterName ) ;
   if ( anOutPort == NULL && DataFlowNode()->IsOneOfInLineNodes() ) {
     anOutPort = DataFlowNode()->AddOutPort( aParameterName , aParameterType ) ;