X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3fb762e7042d9b4a1cf78556ad9ed7f117cc53ba..4327c2b8817b627249d98d889835726217c81a4e:/Dispatcher.h diff --git a/Dispatcher.h b/Dispatcher.h index 46db9b5..425c158 100644 --- a/Dispatcher.h +++ b/Dispatcher.h @@ -94,7 +94,7 @@ public: /************************** * block ops *************************/ - BoxItem* addBlock(Context context, int idCategory, int idBlock, int idScene, QHash clkRstToGen ); + void addBlock(Context context, int idCategory, int idBlock, int idScene, QHash clkRstToGen ); void addClkRstGenBlock(Context context, double frequency); void removeBoxItem(Context context, BoxItem* item); void duplicateBoxItem(Context context, BoxItem* item); @@ -146,6 +146,10 @@ public: bool createConnection(Context context, InterfaceItem *iface1, InterfaceItem *iface2, bool visible = true); void removeAllBlockConnections(Context context, AbstractBoxItem *item); void removeConnection(Context context, ConnectionItem *conn); + void connectBoxItemClock(Context context, BoxItem* item, QString clkName, int idGen = 0) throw(Exception); + void connectBoxItemReset(Context context, BoxItem* item, QString rstName, int idGen = 0) throw(Exception); + void connectStimuliItemClock(Context context, StimuliItem* item, QString clkName, int idGen = 0) throw(Exception); + void connectStimuliItemReset(Context context, StimuliItem* item, QString rstName, int idGen = 0) throw(Exception); // analysis ops