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

Private GIT Repository
finished testbench generation
[blast.git] / GroupInterface.h
index 2f7ac609d74b737e458621e3ecb244127203d392..6bedd67151d34e2090b3df488a63e6bb480d84ed 100644 (file)
@@ -10,6 +10,7 @@
 #include "Exception.h"
 class Exception;
 
+
 using namespace std;
 using namespace Qt;
 
@@ -38,16 +39,18 @@ public :
 
   // getters
   int getWidth();
-
+  int getClockDomain() throw(Exception); // determine at which freq. is synchronized iface
   // setters
 
   // testers
   bool isGroupInterface();
-  bool canConnectTo(AbstractInterface* iface);
-  bool canConnectFrom(AbstractInterface* iface);
+  bool canConnectTo(AbstractInterface* iface, bool testClock);
+  bool canConnectFrom(AbstractInterface* iface, bool testClock);
 
   // others
   AbstractInterface *clone();
+  QList<ConnectedInterface *> getForwardFunctionalInterfaces(GroupInterface* groupIface);
+
   void connectionsValidation(QStack<AbstractInterface *> *interfacetoValidate, QList<AbstractInterface *> *validatedInterfaces) throw(Exception);
 
 };