X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/48f48e6a26a54751ecd0ab90b10ab972cc5e89cd..c85843afb9bd492b46d6fe87a8287157097483f5:/Dispatcher.h diff --git a/Dispatcher.h b/Dispatcher.h index 75583d4..538ee66 100644 --- a/Dispatcher.h +++ b/Dispatcher.h @@ -68,18 +68,20 @@ public slots: BoxItem* getBoxItemById(int id); GroupItem* getGroupItemById(int id); InterfaceItem* getInterfaceItemById(int id); - + // block ops - void addBlock(int idCategory, int idBlock, int idScene); + BoxItem* addBlock(int idCategory, int idBlock, int idScene); void removeBoxItem(BoxItem* item); void duplicateBoxItem(BoxItem* item); void renameFunctionalBlock(BoxItem* item); + void generateBlockVHDL(BoxItem* item); void renameGroupBlock(GroupItem* item); void renameSourceBlock(SourceItem* item); void removeSourceItem(SourceItem* item); void duplicateSourceItem(SourceItem* item); + // interface ops /*! * \brief connectInterToGroup @@ -113,13 +115,18 @@ public slots: void showProperties(InterfaceItem *inter); void renameInterface(InterfaceItem* item); void showPatterns(InterfaceItem* item); + void showModifier(InterfaceItem* item); + void removeModifier(InterfaceItem* item); // connection ops - bool createConnection(InterfaceItem *iface1, InterfaceItem *iface2); + bool createConnection(InterfaceItem *iface1, InterfaceItem *iface2, bool visible = true); void removeAllBlockConnections(AbstractBoxItem *item); void removeConnection(ConnectionItem *conn); + // analysis ops + void findGraphModifications(FunctionalBlock* block); // find modif so that block has compatible inputs + // others void showBlocksLibrary();