X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/4cf57e6db08da791233d75237f62e74bc88dd427..HEAD:/ConnectedInterface.h diff --git a/ConnectedInterface.h b/ConnectedInterface.h index f0a36a4..e3dbfd3 100644 --- a/ConnectedInterface.h +++ b/ConnectedInterface.h @@ -42,10 +42,11 @@ public : inline bool isConnectedTo(){return connectedTo.length() != 0;} inline bool isConnectedToMany(){return connectedTo.length()>=2;} inline bool isConnectedFrom(){return connectedFrom != NULL;} - virtual bool canConnectTo(AbstractInterface* iface) = 0; - virtual bool canConnectFrom(AbstractInterface* iface) = 0; + virtual bool canConnectTo(AbstractInterface* iface, bool testClock) = 0; + virtual bool canConnectFrom(AbstractInterface* iface, bool testClock) = 0; // others + void resetOutputPattern() { outputPattern = NULL; } void connectTo(ConnectedInterface* iface); void disconnectTo(ConnectedInterface* iface); //bool connectFrom(ConnectedInterface* iface);