]> AND Private Git Repository - blast.git/blobdiff - FunctionalBlock.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
finished conn mode of library
[blast.git] / FunctionalBlock.h
index 99f8a80aa2d4ec9335e64c54bb316ed9ed09a2b7..8c469d5b2936d545eadd7c1baf4249f391dc8f07 100644 (file)
@@ -26,7 +26,7 @@ using namespace Qt;
 class FunctionalBlock : public AbstractBlock {\r
 public:\r
 \r
-  FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference) throw(Exception);\r
+  FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);\r
   ~FunctionalBlock();\r
   // getters\r
   inline ReferenceBlock* getReference() { return reference; }\r
@@ -67,17 +67,17 @@ public:
   void computeOutputPattern(int nbExec = -1) throw(Exception);\r
   void computeAdmittanceDelays() throw(Exception); // compute differences between IP and admittance\r
 \r
-private:  \r
+protected:\r
   // patterns\r
   void createDelta() throw(Exception);\r
   void createConsumptionPattern() throw(Exception); // initialize a QList<char> for each interface from patterns defined in implementation\r
   void createProductionPattern() throw(Exception); // initialize a QList<char> for each interface from patterns defined in implementation\r
   void createProductionCounter() throw(Exception); // initialize a QList<int> from counter defined in implementation\r
   void createAdmittance(int nbExec) throw(Exception); // initialize a QList<char> from consumption pattern and delta\r
+  void createInputPattern() throw(Exception);\r
 \r
   void clearConsumptionPattern();\r
-  void clearProductionPattern();\r
-  void createInputPattern() throw(Exception);\r
+  void clearProductionPattern(); \r
   void clearInputPattern();\r
   void clearOutputPattern();\r
   void clearAdmittanceDelays();\r