ConnectedInterface(AbstractBlock* _owner);
ConnectedInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose);
+
// getters
inline QList<ConnectedInterface*> getConnectedTo() { return connectedTo;}
inline ConnectedInterface* getConnectedFrom() { return connectedFrom;}
+ inline QList<char> getOutputPattern() { return outputPattern; }
// setters
+ inline void setOutputPattern(QList<char> pattern) { outputPattern = pattern; }
// testers
inline bool isConnectedTo(){return connectedTo.length() != 0;}
* this interface. connecteFrom references such an interface if it exists.
*/
ConnectedInterface* connectedFrom;
+
+ // patterns
+ QList<char> outputPattern; //! only usefull for output interfaces
};