}
}
-bool GraphBase::ComputingNode::IsLinked(const char * ToServiceParameterName ) {
+bool GraphBase::ComputingNode::IsLinked(const char * ToServiceParameterName, bool isInput ) {
bool RetVal = false ;
- const GraphBase::InPort * thePort = GetInPort( ToServiceParameterName ) ;
- if ( thePort ) {
- RetVal = thePort->IsPortConnected() ;
+ if ( isInput ) { // mkr : PAL8060
+ // we have to know the type of the port, because of input and output ports
+ // belong to one node may have the same names
+ const GraphBase::InPort * thePort = GetInPort( ToServiceParameterName ) ;
+ if ( thePort ) {
+ RetVal = thePort->IsPortConnected() ;
+ }
}
else {
const GraphBase::OutPort * thePort = GetOutPort( ToServiceParameterName ) ;
const char * ServiceParameterName ,
char ** aNode , char ** aPort ) ;
- bool IsLinked(const char * ToServiceParameterName ) ;
+ bool IsLinked(const char * ToServiceParameterName, bool isInput ) ; // mkr : PAL8060
bool HasInput(const char * ToServiceParameterName ) ;
GraphBase::SNode * GetInfo() ;
void DelOutPort( const char * OutputParameterName ) {
_ComputingNode->DelOutPort( OutputParameterName ) ; } ;
- bool IsLinked(const char * ToServiceParameterName ) {
- return _ComputingNode->IsLinked( ToServiceParameterName ) ; } ;
+ bool IsLinked(const char * ToServiceParameterName, bool isInput ) {
+ return _ComputingNode->IsLinked( ToServiceParameterName, isInput ) ; } ; // mkr : PAL8060
bool HasInput(const char * ToServiceParameterName ) {
return _ComputingNode->HasInput( ToServiceParameterName ) ; } ;