1 #ifndef __FUNCTIONALBLOCK_H__
\r
2 #define __FUNCTIONALBLOCK_H__
\r
8 #include "AbstractBlock.h"
\r
10 class ReferenceBlock;
\r
12 #include "Exception.h"
\r
16 using namespace std;
\r
20 - NEVER forget to call populate() after creating an instance of GraphBlock.
\r
23 class FunctionalBlock : public AbstractBlock {
\r
26 FunctionalBlock(GroupBlock* _parent, ReferenceBlock* _reference) throw(Exception);
\r
29 inline ReferenceBlock* getReference() { return reference; }
\r
34 bool isFunctionalBlock();
\r
38 void populate(); // create parameters and interface from reference block
\r
39 void parametersValidation(QList<AbstractBlock *> *checkedBlocks, QList<AbstractBlock*>* blocksToConfigure);
\r
41 QString getReferenceXmlFile();
\r
42 QString getReferenceHashMd5();
\r
45 ReferenceBlock* reference;
\r
49 #endif // __FUNCTIONALBLOCK_H__
\r