X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/6e2b3026c6a496e81642c373796bd39dad33d2a6..1b7818e18ed7bcf3464e307b97c6e0e6d72cc69b:/FunctionalBlock.h diff --git a/FunctionalBlock.h b/FunctionalBlock.h index 7bba2c8..8e0e2ed 100644 --- a/FunctionalBlock.h +++ b/FunctionalBlock.h @@ -26,7 +26,7 @@ using namespace Qt; class FunctionalBlock : public AbstractBlock { public: - FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference) throw(Exception); + FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception); ~FunctionalBlock(); // getters inline ReferenceBlock* getReference() { return reference; } @@ -51,7 +51,10 @@ public: // others void populate(); // create parameters and interface from reference block + + QList getExternalResources(); void generateVHDL(const QString& path) throw(Exception); // main entry to generate the VHDL code + QString getIfaceUserName(AbstractInterface* refIface); // get iface name from reference interface void parametersValidation(QList *checkedBlocks, QList* blocksToConfigure);