//=========================================================================
GPortModel::GPortModel( ) {
- _parentBox = NULL ;
- _portType = -1 ;
- _posInBox = 0 ;
- _isConnected = false ;
- _value = "" ;
- _isValueSet = false ;
+ _parentBox = NULL ;
+ _portType = -1 ;
+ _posInBox = 0 ;
+ _isConnected = false ;
+ _value = "" ;
+ _isValueSet = false ;
}
//=========================================================================
//=========================================================================
void GPortModel::registerInBox( GBoxModel *blackBox , int portType , int pos ) {
- _parentBox = blackBox ;
- _portType = portType ;
- _posInBox = pos ;
-
+ _parentBox = blackBox ;
+ _portType = portType ;
+ _posInBox = pos ;
updatePortPosition( ) ;
-
}
//=========================================================================
//=========================================================================
GBoxModel* GPortModel::getParentBox( ) {
- return _parentBox ;
+ return _parentBox;
}
//=========================================================================