]> 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 acdc1c8ab8771953a7c180b1d72656ed299b8a76..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
@@ -54,7 +56,8 @@ public:
   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