ConnectedInterface(AbstractBlock* _owner);
ConnectedInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose);
+ ~ConnectedInterface();
// getters
inline QList<ConnectedInterface*> getConnectedTo() { return connectedTo;}
inline ConnectedInterface* getConnectedFrom() { return connectedFrom;}
- inline QList<char> getOutputPattern() { return outputPattern; }
+ inline QList<char>* getOutputPattern() { return outputPattern; }
// setters
- inline void setOutputPattern(QList<char> pattern) { outputPattern = pattern; }
+ void setOutputPattern(QList<char>* pattern);
// testers
inline bool isConnectedTo(){return connectedTo.length() != 0;}
ConnectedInterface* getConnectionFromParentGroup();
virtual AbstractInterface *clone() = 0;
- void removeConnectedTo(ConnectedInterface *inter);
+ //void removeConnectedTo(ConnectedInterface *inter);
virtual void clearConnectedTo();
inline void clearConnectedFrom() { connectedFrom = NULL; }
ConnectedInterface* connectedFrom;
// patterns
- QList<char> outputPattern; //! only usefull for output interfaces
+ QList<char>* outputPattern; //! only usefull for output interfaces
};