X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/e40a5399ec7887c2606f18575c809b0d05b09278..refs/heads/master:/FunctionalBlock.h?ds=inline diff --git a/FunctionalBlock.h b/FunctionalBlock.h index 8c469d5..93ac7d1 100644 --- a/FunctionalBlock.h +++ b/FunctionalBlock.h @@ -26,7 +26,7 @@ using namespace Qt; class FunctionalBlock : public AbstractBlock { public: - FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception); + FunctionalBlock(Graph* _graph, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception); ~FunctionalBlock(); // getters inline ReferenceBlock* getReference() { return reference; } @@ -46,7 +46,7 @@ public: // testers bool isFunctionalBlock(); - bool isSourceBlock(); //! a source block has no parent and has no data inputs + bool isStimuliBlock(); //! a stimuli block has no parent and is out of the top group // others @@ -63,8 +63,8 @@ public: // patterns void createPatterns() throw(Exception); // called in Graph, before checking compatibility and computing output pattern - void checkInputPatternCompatibility() throw(Exception); - void computeOutputPattern(int nbExec = -1) throw(Exception); + virtual void checkInputPatternCompatibility() throw(Exception); + virtual void computeOutputPattern(int nbExec = -1) throw(Exception); void computeAdmittanceDelays() throw(Exception); // compute differences between IP and admittance protected: