iLab Neuromorphic Robotics Toolkit
0.1
|
#include </lab/itti/everything/software/nrt/trunk/nrt/src/Apps/nrtDesigner/LoaderLibrary.H>
A library of module loaders.
Definition at line 70 of file LoaderLibrary.H.
Inherits QAbstractTableModel.
Public Slots | |
void | itemSelectedSlot (const QModelIndex &index) |
Signals | |
void | loaderSelectedSignal (LoaderSummary) |
Public Member Functions | |
LoaderLibrary (QTableView *view, QWidget *parent=0) | |
Constructor. | |
virtual | ~LoaderLibrary () |
Destructor. | |
int | rowCount (QModelIndex const &parent=QModelIndex()) const |
Get number of loaders. | |
int | columnCount (QModelIndex const &parent=QModelIndex()) const |
Get number of columns (stuff about each loader) | |
QVariant | data (QModelIndex const &index, int role=Qt::DisplayRole) const |
Get some data. | |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Get some header data. | |
void | removeLoaders (QSet< LoaderSummary > loaders) |
Delete a bunch of loaders. | |
void | addLoader (std::string const &bbuid, std::string const &bbnick, std::vector< nrt::ModuleDescription > const &lib) |
Add a loader and all the data about all its possible modules. | |
QList< LoaderSummary > const & | loaders () const |
LoaderSummary | currentLoader () const |
LoaderSummary | findByNick (QString nick) |
Find a ModuleLoader by the nickname. | |
LoaderSummary const & | findByBBuid (QString const &bbuid) const |
Find a loader by bbuid. | |
LoaderSummary | master () const |
void | updateAllUsagesThread () |
LoaderSummary LoaderLibrary::master | ( | ) | const |
Get the master loader TODO FIX ME! This just returns the current loader for now!