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

Private GIT Repository
changed sources to stimulis
[blast.git] / SpecialBlock.h
index 06c645966ac51697d8960e9d21ab32a11a9a13a3..aff0d6bc7720401c127266ea787d30bdefa9fb30 100644 (file)
@@ -14,31 +14,32 @@ using namespace Qt;
 \r
 \r
 class SpecialBlock : public FunctionalBlock {\r
 \r
 \r
 class SpecialBlock : public FunctionalBlock {\r
-public:\r
-\r
-  enum SpecialType { ClockConvert = 0, ClkRstGen = 1 };\r
+public:  \r
   \r
   \r
-  SpecialBlock(SpecialType _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);\r
+  SpecialBlock(int _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);\r
   ~SpecialBlock();\r
   ~SpecialBlock();\r
-  // getters\r
+  // getters  \r
   \r
   // setters\r
   \r
   // testers\r
   \r
   // setters\r
   \r
   // testers\r
+  bool isSpecialBlock();\r
 \r
 \r
-  // others\r
+  // others  \r
  \r
   // patterns\r
   void checkInputPatternCompatibility() throw(Exception);\r
   void computeOutputPattern(int nbExec = -1) throw(Exception);\r
 \r
  \r
   // patterns\r
   void checkInputPatternCompatibility() throw(Exception);\r
   void computeOutputPattern(int nbExec = -1) throw(Exception);\r
 \r
-private:\r
-  SpecialType type;\r
-  \r
+private:  \r
+\r
+  void checkInputPatternCompatibilitySource() throw(Exception);\r
+  void computeOutputPatternSource(int nbExec = -1) throw(Exception);\r
+  void checkInputPatternCompatibilitySink() throw(Exception);\r
+  void computeOutputPatternSink(int nbExec = -1) throw(Exception);\r
   void checkInputPatternCompatibilityClockConvert() throw(Exception);\r
   void computeOutputPatternClockConvert(int nbExec = -1) throw(Exception);\r
   void checkInputPatternCompatibilityClockConvert() throw(Exception);\r
   void computeOutputPatternClockConvert(int nbExec = -1) throw(Exception);\r
-  void checkInputPatternCompatibilityClkRstGen() throw(Exception);\r
-  void computeOutputPatternClkRstGen(int nbExec = -1) throw(Exception);\r
+\r
 \r
 };\r
 \r
 \r
 };\r
 \r