X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/6e2b3026c6a496e81642c373796bd39dad33d2a6..e0eaffd44fc9733bc230a803c80d8d5efd0faca6:/GroupInterface.h diff --git a/GroupInterface.h b/GroupInterface.h index 2f7ac60..6bedd67 100644 --- a/GroupInterface.h +++ b/GroupInterface.h @@ -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 getForwardFunctionalInterfaces(GroupInterface* groupIface); + void connectionsValidation(QStack *interfacetoValidate, QList *validatedInterfaces) throw(Exception); };