}
int index = 1 ;
GraphBase::InPort * toPort = _InPorts[ index - 1 ] ;
- cdebug << "OutPort::RemoveInPort " << NodeName() << "( " << PortName() << " " << PortStatus() << " ) --> "
- << toPort->NodeName() << "( " << toPort->PortName() << " " << toPort->PortStatus()
- << " )" << endl ;
_InPortsSize -= 1 ;
_InPorts.resize( _InPortsSize ) ;
_Links.resize( _InPortsSize ) ;
_MapOfInPorts.erase( toPort->NodePortName() ) ;
if ( _InPortsSize == 0 ) {
PortStatus(NotConnected ) ;
+ if ( IsSwitch() ) {
+ Kind( SUPERV::InLineParameter ) ;
+ }
}
toPort->RemoveOutPort() ;
+ cdebug << "OutPort::RemoveInPort " << NodeName() << "( " << PortName() << " " << PortStatus()
+ << " " << Kind() << " ) _InPortsSize " << _InPortsSize << " --> "
+ << toPort->NodeName() << "( " << toPort->PortName() << " " << toPort->PortStatus()
+ << " " << toPort->Kind() << " )" << endl ;
return true ;
}
_MapOfInPorts.erase( toPort->NodePortName() ) ;
if ( _InPortsSize == 0 ) {
PortStatus(NotConnected ) ;
+ if ( IsSwitch() ) {
+ Kind( SUPERV::InLineParameter ) ;
+ }
}
toPort->RemoveOutPort() ;
return true ;