X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/6a0ffdb10d7344d99e04c5518fca2b8295df94be..2bdaa0aa3fab52f0808f60d9bbdabcd56d0efae9:/AbstractInterface.cpp?ds=inline diff --git a/AbstractInterface.cpp b/AbstractInterface.cpp index 03a1a98..3295dc8 100644 --- a/AbstractInterface.cpp +++ b/AbstractInterface.cpp @@ -243,6 +243,13 @@ bool AbstractInterface::setAssociatedIface(AbstractInterface* iface) { return true; } +AbstractInterface* AbstractInterface::getClockIface() { + if (clkIfaceType == ClockName) { + return owner->getIfaceFromName(clkIface); + } + return NULL; +} + bool AbstractInterface::setClockIface(QString name) { /* 2 cases : * - this is a Data interface