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

Private GIT Repository
7f34682fa35f0cfe732ac4aa39328d3a3178b65d
[blast.git] / Graph.h
1 #ifndef __GRAPH_H__
2 #define __GRAPH_H__
3
4 #include <iostream>
5
6 #include <QtCore>
7 #include <QtGui>
8
9 class GroupBlock;
10 class ReferenceBlock;
11 class FunctionalBlock;
12 class AbstractInterface;
13
14 using namespace std;
15 using namespace Qt;
16
17
18 class Graph {
19
20 public:
21   Graph();
22   ~Graph();
23
24   QList<AbstractInterface *> getOutsideInterfaces();
25   inline GroupBlock* getTopGroup() { return topGroup; }
26
27   GroupBlock* createChildBlock(GroupBlock* parent);
28   FunctionalBlock* addFunctionalBlock(GroupBlock *group, ReferenceBlock *ref);
29
30 private:  
31   GroupBlock* topGroup;
32
33 };
34
35 #endif // __GRAPH_H__