X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..bc5d59217a24b25c1b913bec4a41dd026d02720c:/ReferenceInterface.h diff --git a/ReferenceInterface.h b/ReferenceInterface.h index cd5bd0f..cf54f4a 100644 --- a/ReferenceInterface.h +++ b/ReferenceInterface.h @@ -19,11 +19,11 @@ class ReferenceInterface : public AbstractInterface { public : ReferenceInterface(AbstractBlock *_owner) throw(Exception); - ReferenceInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose, int _level, int _multiplicity=1) throw (Exception); + ReferenceInterface(AbstractBlock* _owner, const QString& _name, int _direction, int _purpose, const QString& _type, const QString& _width, int _endianess = LittleEndian, int _multiplicity=1) throw (Exception); // getters inline int getMultiplicity() { return multiplicity; } - inline AbstractInterface* getConnectedFrom() { return NULL; } + int getClockDomain() throw(Exception); // determine at which freq. is synchronized iface // setters void setMultiplicity(int _multiplicity); @@ -32,8 +32,7 @@ public : // others - static int translatePurpose(const QString& txt); - static int translateLevel(const QString& txt); + static int translatePurpose(const QString& txt); static int translateMultiplicity(const QString& txt); inline AbstractInterface *clone(){ return NULL; }