if ( _DataFlowEditor->IsEditing() ) {
RetVal = _DataFlowEditor->RemoveNode( Name() ) ;
if ( RetVal ) {
- RetVal = _DataFlowEditor->IsValid() ;
+ RetVal = _DataFlowEditor->UnValid() ;
}
}
endService( "CNode_Impl::Delete" );
if ( !begin ) {
endService( "CNode_Impl::Port" );
}
+ DataFlowEditor()->UnValid() ;
return SUPERV::Port::_duplicate( iobject ) ;
}
MESSAGE( "CNode_Impl::Input returns nil object _IsNode " << _IsNode << " sts " << sts << " anInPort "
<< anInPort ) ;
}
+ DataFlowEditor()->UnValid() ;
return SUPERV::Port::_duplicate( iobject ) ;
}
if ( DataFlowEditor()->IsEditing() ) {
RetVal = DataFlowEditor()->RemoveNode( Name() ) ;
if ( RetVal )
- RetVal = DataFlowEditor()->IsValid() ;
+ RetVal = DataFlowEditor()->UnValid() ;
}
// endService( "INode_Impl::Delete" );
return RetVal ;
_OutputParameterName ,
_DataFlowNode->Name() ,
_InputParameterName ) ;
+ if ( RetVal ) {
+ DataFlowEditor()->UnValid() ;
+ }
// endService( "Link_Impl::Delete" );
return RetVal ;
}
CORBA::Object_var obj = _poa->id_to_reference(*id);
iobject = SUPERV::StreamLink::_narrow(obj) ;
anOutPort->AddInPortObjRef( anInPort , SUPERV::StreamLink::_duplicate(iobject) ) ;
+ DataFlowEditor()->UnValid() ;
}
}
}
const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
const double DeltaTime ) {
bool sts = DataFlowEditor()->StreamGraph()->SetStreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
- DataFlowEditor()->UnValid() ;
+ if ( sts ) {
+ DataFlowEditor()->UnValid() ;
+ }
return sts ;
}
OutputParameterName() ,
DataFlowNode()->Name() ,
InputParameterName() ) ;
+ if ( RetVal ) {
+ DataFlowEditor()->UnValid() ;
+ }
// endService( "StreamLink_Impl::Delete" );
return RetVal ;
}
<< iobject->InPort()->Node()->Name() << "( " << iobject->InPort()->Name() << " ) " ) ;
endService( "StreamPort_Impl::StreamLink" ) ;
}
- DataFlowEditor()->UnValid() ;
return SUPERV::StreamLink::_duplicate( iobject ) ;
}
if ( RetVal ) {
MESSAGE( "OutStreamPort_Impl::SetParams( " << aKindOfSchema << " , " << aKindOfInterpolation
<< " , " << aKindOfExtrapolation << " ) SUCCESS " ) ;
+ DataFlowEditor()->UnValid() ;
}
else {
MESSAGE( "OutStreamPort_Impl::SetParams( " << aKindOfSchema << " , " << aKindOfInterpolation
MESSAGE( "OutStreamPort_Impl::SetParams( " << aKindOfSchema << " , " << aKindOfInterpolation
<< " , " << aKindOfExtrapolation << " ) ERROR : OutPort" ) ;
}
- DataFlowEditor()->UnValid() ;
// endService( "StreamPort_Impl::SetParams" );
return RetVal ;
}
if ( !IsInput() ) {
GraphBase::OutDataStreamPort * anOutStreamPort = (GraphBase::OutDataStreamPort * ) DataFlowPort() ;
anOutStreamPort->NumberOfValues( aNumberOfValues ) ;
+ DataFlowEditor()->UnValid() ;
RetVal = true ;
}
else {
MESSAGE( "OutStreamPort_Impl::SetNumberOfValues( " << aNumberOfValues << " ) ERROR : InPort" ) ;
}
- DataFlowEditor()->UnValid() ;
// endService( "StreamPort_Impl::SetNumberOfValues" );
return RetVal ;
}