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

Private GIT Repository
added patterns and started OP computation
[blast.git] / GroupBlock.h
index 0e1c89472d9b76056c6b33cea21075e86dcd5821..0aeb0069a01e6b2a341dbbb993ce9ebe03570754 100644 (file)
@@ -42,7 +42,18 @@ public:
   // public attributes
   static int counter;
 
-private:  
+  
+private:    
+  // patterns  
+  /*!
+   * \brief initInputPattern
+   * Since input GroupInterface are just tunnels to input interfaces of inner blocks, they must
+   * have an output pattern that can be provided to inner interfaces. That outpu pattern is just
+   * found by taking the output pattern of the connectedFrom interface.
+   */   
+  void initInputPattern();
+  void computeOutputPattern(int nbExec = -1);
+  
   bool topGroup;  
   QList<AbstractBlock*> blocks; // contains instances of FunctionalBlock or GroupBlock that are children of this group