Go to the documentation of this file.
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()
wxString fuArchLabel(const TTAMachine::FunctionUnit &fu) const
std::map< RowID, wxTreeItemId > fuImplementations_
Map of fu implementation RowIDs to tree item IDs.
void selectRFArchitecture(int id)
bool isRFArchitectureSelected()
std::map< RowID, wxTreeItemId > rfEntries_
Map of rf entry RowIDs to tree item IDs.
void selectBusEntry(int id)
bool isRFImplementationSelected()
HDB::CachedHDBManager * manager_
HDB to display in the browser.
std::map< RowID, wxTreeItemId > rfImplementations_
Map of rf implementation RowIDs to tree item IDs.
HDBBrowserWindow(wxWindow *parent, wxWindowID id)
int RowID
Type definition of row ID in relational databases.
std::map< RowID, wxTreeItemId > rfArchitectures_
Map of rf architecture RowIDs to tree item IDs.
void selectFUImplementation(int id)
void selectRFImplementation(int id)
bool isSocketEntrySelected()
void selectFUEntry(int id)
RowID selectedOperationImplementationResource()
bool isBusEntrySelected()
void onItemSelected(wxTreeEvent &event)
std::map< RowID, wxTreeItemId > busEntries_
Map of bus entry RowIDs to tree item IDs.
void selectCostFunctionPlugin(int id)
RowID selectedFUArchitecture()
bool isOperationImplementationResourceSelected()
std::map< RowID, wxTreeItemId > fuEntries_
Map of fu entry RowIDs to tree item IDs.
RowID selectedCostFunctionPlugin()
virtual ~HDBBrowserWindow()
std::map< RowID, wxTreeItemId > socketEntries_
Map of socket entry RowIDs to tree item IDs.
RowID selectedRFImplementation()
std::map< RowID, wxTreeItemId > costPlugins_
Map of cost function plugin RowIDs to tree item IDs.
HDBBrowserInfoPanel * infoPanel_
Info panel widget for displaying the selected element information.
RowID selectedOperationImplementation()
RowID selectedFUImplementation()
void selectSocketEntry(int id)
wxTreeCtrl * tree_
Tree widget displayign the HDB hierarchy.
void selectRFEntry(int id)
void openLink(const wxString &link)
bool isFUArchitectureSelected()
void selectFUArchitecture(int id)
RowID selectedSocketEntry()
bool isOperationImplementationSelected()
void onRMBClick(wxTreeEvent &event)
void setHDBManager(HDB::CachedHDBManager &manager)
bool isFUImplementationSelected()
bool isCostFunctionPluginSelected()
std::map< RowID, wxTreeItemId > fuArchitectures_
Map of fu architecture RowIDs to tree item IDs.
RowID selectedRFArchitecture()