X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/f311fbc3e1436bf248c54225f0743cfa671c4bd7..d111eaf49741a0a79d372445f97c314a637e331e:/AbstractBlock.h diff --git a/AbstractBlock.h b/AbstractBlock.h index 19209b7..a132bc8 100644 --- a/AbstractBlock.h +++ b/AbstractBlock.h @@ -43,6 +43,8 @@ public: virtual bool isReferenceBlock(); virtual bool isFunctionalBlock(); virtual bool isGroupBlock(); + virtual bool isSourceBlock(); + virtual bool isTopGroupBlock(); bool isWBConfigurable(); // others @@ -51,9 +53,11 @@ public: void addParameter(BlockParameter *param); void addInterface(AbstractInterface *inter); void removeInterface(AbstractInterface *inter); + void removeAllInterfaces(); void defineBlockParam(BlockParameter *param); - QList getInterfaces(); + QList getInterfaces(); //! return all interfaces + QList getDataInputs(); //! return all inputs of type data AbstractInterface* getIfaceFromName(QString name); BlockParameter* getParameterFromName(QString name);