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

Private GIT Repository
correct relative positionning of source/group
[blast.git] / AbstractBlock.h
index 19209b773bad2081e10be79bbd64aadfb16769f2..a132bc88cbf1d54145b1e4d8ac4babba41671b30 100644 (file)
@@ -43,6 +43,8 @@ public:
   virtual bool isReferenceBlock();\r
   virtual bool isFunctionalBlock();\r
   virtual bool isGroupBlock();\r
+  virtual bool isSourceBlock();\r
+  virtual bool isTopGroupBlock();\r
   bool isWBConfigurable();\r
 \r
   // others\r
@@ -51,9 +53,11 @@ public:
   void addParameter(BlockParameter *param);\r
   void addInterface(AbstractInterface *inter);\r
   void removeInterface(AbstractInterface *inter);\r
+  void removeAllInterfaces();\r
   void defineBlockParam(BlockParameter *param);\r
 \r
-  QList<AbstractInterface *> getInterfaces();\r
+  QList<AbstractInterface *> getInterfaces(); //! return all interfaces\r
+  QList<AbstractInterface *> getDataInputs(); //! return all inputs of type data\r
   AbstractInterface* getIfaceFromName(QString name);\r
   BlockParameter* getParameterFromName(QString name);\r
 \r