int i;
for(i=0;i<_inputs.size();i++)
{
- _inputs[i]->updatePortPosition(i);
+ _inputs[i]->updatePortPosition();
}
//Refresh outputs position
for(i=0;i<_outputs.size();i++)
{
- _outputs[i]->updatePortPosition(i);
+ _outputs[i]->updatePortPosition();
}
}
//=========================================================================
- GPortModel* GBlackBoxModel::getStartOutputPort()
+
+ std::string GBlackBoxModel::getBBTKPackage()
{
- GPortModel* temp = NULL;
+ return _bbtkPackage;
+ }
- for(int i=0; i<_inputs.size() && temp == NULL;i++)
- {
- if(_outputs[i]->getState() == CREATING_CONTOUR)
- {
- temp = _outputs[i];
- }
- }
+ //=========================================================================
+
+ void GBlackBoxModel::setBBTKPackage(std::string obpackage)
+ {
+ _bbtkPackage = obpackage;
+ }
+ //=========================================================================
+
+ std::string GBlackBoxModel::getStatusText()
+ {
+ std::string temp = "";
+ temp+=_bbtkType;
+ temp+=":";
+ temp+=_bbtkPackage;
return temp;
}
+ //=========================================================================
+
+
} // EO namespace bbtk
// EOF