X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/dd3fe103df79a5a4c2962e2f05fec9a9ed58580d..a13795fc34cd1e74f94695d35253c3d00abec9bc:/ReferenceInterface.cpp?ds=sidebyside diff --git a/ReferenceInterface.cpp b/ReferenceInterface.cpp index a0f50ca..fdebeaa 100644 --- a/ReferenceInterface.cpp +++ b/ReferenceInterface.cpp @@ -7,12 +7,14 @@ ReferenceInterface::ReferenceInterface(AbstractBlock* _owner) throw(Exception) } ReferenceInterface::ReferenceInterface(AbstractBlock* _owner, - const QString& _name, const QString&_type, - const QString& _width, + const QString& _name, int _direction, int _purpose, + const QString& _type, + const QString& _width, + int _endianess, int _multiplicity) -throw (Exception) : AbstractInterface(_owner, _name, _type, _width, _direction, _purpose) { +throw (Exception) : AbstractInterface(_owner, _name, _direction, _purpose, _type, _width) { if (_owner->isReferenceBlock()) throw(Exception(BLOCK_INVALID_TYPE)); @@ -69,3 +71,8 @@ int ReferenceInterface::translateMultiplicity(const QString& txt) { } return mult; } + +int ReferenceInterface::getClockDomain() throw(Exception) { + + throw(Exception(IFACE_INVALID_TYPE,this)); +}