~GPortModel();
//Public methods
- void registerInBox(GBlackBoxModel *blackBox,int portType);
+ void registerInBox(GBlackBoxModel *blackBox,int portType, int pos);
+ void updatePortPosition();
+ int getPortType();
+ GBlackBoxModel* getParentBox();
+ virtual std::string getStatusText();
+ bool isConnected();
+ void setConnected(bool value);
+ bool isValueSet();
+ void setValue(std::string value);
+ std::string getValue();
+
private:
//Attributes
GBlackBoxModel *_parentBox;
int _portType;
+ int _posInBox;
+ bool _isConnected;
+ std::string _value;
+ bool _isValueSet;
//Private Methods