33#ifndef TTA_HDB_BROWSER_WINDOW_HH
34#define TTA_HDB_BROWSER_WINDOW_HH
38#include <wx/treectrl.h>
46 class CachedHDBManager;
138 DECLARE_EVENT_TABLE()
int RowID
Type definition of row ID in relational databases.
void selectFUImplementation(int id)
std::map< RowID, wxTreeItemId > rfArchitectures_
Map of rf architecture RowIDs to tree item IDs.
bool isCostFunctionPluginSelected()
void selectBusEntry(int id)
std::map< RowID, wxTreeItemId > fuArchitectures_
Map of fu architecture RowIDs to tree item IDs.
void selectCostFunctionPlugin(int id)
RowID selectedRFImplementation()
bool isSocketEntrySelected()
wxTreeCtrl * tree_
Tree widget displayign the HDB hierarchy.
void selectRFEntry(int id)
RowID selectedFUImplementation()
std::map< RowID, wxTreeItemId > rfImplementations_
Map of rf implementation RowIDs to tree item IDs.
std::map< RowID, wxTreeItemId > costPlugins_
Map of cost function plugin RowIDs to tree item IDs.
std::map< RowID, wxTreeItemId > rfEntries_
Map of rf entry RowIDs to tree item IDs.
void selectSocketEntry(int id)
RowID selectedOperationImplementation()
bool isOperationImplementationResourceSelected()
void selectFUArchitecture(int id)
HDB::CachedHDBManager * manager_
HDB to display in the browser.
RowID selectedRFArchitecture()
RowID selectedFUArchitecture()
HDBBrowserInfoPanel * infoPanel_
Info panel widget for displaying the selected element information.
std::map< RowID, wxTreeItemId > fuEntries_
Map of fu entry RowIDs to tree item IDs.
void selectRFImplementation(int id)
bool isFUArchitectureSelected()
void onItemSelected(wxTreeEvent &event)
void onRMBClick(wxTreeEvent &event)
void selectFUEntry(int id)
wxString fuArchLabel(const TTAMachine::FunctionUnit &fu) const
RowID selectedOperationImplementationResource()
void selectRFArchitecture(int id)
bool isRFImplementationSelected()
std::map< RowID, wxTreeItemId > fuImplementations_
Map of fu implementation RowIDs to tree item IDs.
virtual ~HDBBrowserWindow()
bool isOperationImplementationSelected()
RowID selectedSocketEntry()
bool isBusEntrySelected()
void openLink(const wxString &link)
std::map< RowID, wxTreeItemId > socketEntries_
Map of socket entry RowIDs to tree item IDs.
std::map< RowID, wxTreeItemId > busEntries_
Map of bus entry RowIDs to tree item IDs.
RowID selectedCostFunctionPlugin()
bool isFUImplementationSelected()
void setHDBManager(HDB::CachedHDBManager &manager)
bool isRFArchitectureSelected()