* \brief Class bbtk::GPortModel
*/
-
+/****
+* Design and Developpement of BBTK GEditor
+* Ricardo A Corredor J <ra.corredor67@uniandes.edu.co>
+* RaC - 2010
+****/
#include "GPortModel.h"
namespace bbtk
}
//=========================================================================
- void GPortModel::registerInBox(GBlackBoxModel *blackBox,int portType, int pos)
+ void GPortModel::registerInBox(GBoxModel *blackBox,int portType, int pos)
{
_parentBox = blackBox;
_portType = portType;
return _portType;
}
+ //=========================================================================
+
+ int GPortModel::getPosInBox()
+ {
+ return _posInBox;
+ }
+
//=========================================================================
std::string GPortModel::getStatusText()
//=========================================================================
- GBlackBoxModel* GPortModel::getParentBox()
+ GBoxModel* GPortModel::getParentBox()
{
return _parentBox;
}