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

Private GIT Repository
changed sources to stimulis
[blast.git] / SpecialBlock.h
1 #ifndef __SPECIALBLOCK_H__\r
2 #define __SPECIALBLOCK_H__\r
3 \r
4 #include <iostream>\r
5 \r
6 #include <QtCore>\r
7 \r
8 #include "FunctionalBlock.h"\r
9 class FunctionalBlock; \r
10 \r
11 using namespace std;\r
12 using namespace Qt;\r
13 \r
14 \r
15 \r
16 class SpecialBlock : public FunctionalBlock {\r
17 public:  \r
18   \r
19   SpecialBlock(int _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces = true) throw(Exception);\r
20   ~SpecialBlock();\r
21   // getters  \r
22   \r
23   // setters\r
24   \r
25   // testers\r
26   bool isSpecialBlock();\r
27 \r
28   // others  \r
29  \r
30   // patterns\r
31   void checkInputPatternCompatibility() throw(Exception);\r
32   void computeOutputPattern(int nbExec = -1) throw(Exception);\r
33 \r
34 private:  \r
35 \r
36   void checkInputPatternCompatibilitySource() throw(Exception);\r
37   void computeOutputPatternSource(int nbExec = -1) throw(Exception);\r
38   void checkInputPatternCompatibilitySink() throw(Exception);\r
39   void computeOutputPatternSink(int nbExec = -1) throw(Exception);\r
40   void checkInputPatternCompatibilityClockConvert() throw(Exception);\r
41   void computeOutputPatternClockConvert(int nbExec = -1) throw(Exception);\r
42 \r
43 \r
44 };\r
45 \r
46 \r
47 \r
48 #endif // __SPEICALBLOCK_H__\r