X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/SpecialBlock.h?ds=sidebyside

diff --git a/SpecialBlock.h b/SpecialBlock.h
index 574803d..5e47cd9 100644
--- a/SpecialBlock.h
+++ b/SpecialBlock.h
@@ -14,27 +14,29 @@ using namespace Qt;
 
 
 class SpecialBlock : public FunctionalBlock {
-public:
-
-  enum SpecialType { ClockConvert = 1 };
+public:  
   
-  SpecialBlock(SpecialType _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);
+  SpecialBlock(Graph* _graph, int _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);
   ~SpecialBlock();
-  // getters
+  // getters  
   
   // setters
   
   // testers
+  bool isSpecialBlock();
 
-  // others
+  // others  
  
   // patterns
   void checkInputPatternCompatibility() throw(Exception);
   void computeOutputPattern(int nbExec = -1) throw(Exception);
 
-private:
-  SpecialType type;
-  
+private:  
+
+  void checkInputPatternCompatibilitySource() throw(Exception);
+  void computeOutputPatternSource(int nbExec = -1) throw(Exception);
+  void checkInputPatternCompatibilitySink() throw(Exception);
+  void computeOutputPatternSink(int nbExec = -1) throw(Exception);
   void checkInputPatternCompatibilityClockConvert() throw(Exception);
   void computeOutputPatternClockConvert(int nbExec = -1) throw(Exception);