|
|
#include <ArmarXGui/gui-plugins/SystemStateMonitorPlugin/ArmarXManagerModel.h>
Inheritance diagram for ArmarXManagerModel:Public Types | |
| enum | ApplicationRowType { Endpoint, ApplicationProperties, Components } |
| enum | UserDataRoles : int { ComponentStarted = Qt::UserRole + 1, ResolvedDependency, RowType, End } |
Public Slots | |
| void | deleteSelection (QItemSelectionModel *selectionModel) |
| Deletes the selected set of rows from this model. More... | |
| void | moveSelectionTo (QItemSelectionModel *selectionModel, ArmarXManagerModel *destinationModel) |
| Takes the specified selected rows via the selection model from this and appends the rows to the given destination model. More... | |
| void | takeSelectionFrom (QItemSelectionModel *selectionModel, ArmarXManagerModel *sourceModel) |
| Takes the specified selected rows via the selection model from the source model and appends the rows to this one. More... | |
| void | updateItem (QStandardItem *item) |
| void | updateManagerDetails (const ArmarXManagerItem::ManagerDataMap &managerDataMap, bool deactivateIfMissing=true) |
| void | upsertManagerDetails (const ArmarXManagerItem::ManagerData &data) |
Public Member Functions | |
| ArmarXManagerModel () | |
| Constructs an ArmarXManagerModel. More... | |
| ArmarXManagerModel * | clone () |
| Returns a clone of this ArmarXManagerModel. More... | |
| void | copyFrom (ArmarXManagerModel *source) |
| Copies the source model content to this one. More... | |
| bool | empty () const |
| QBrush | getBrush (armarx::ManagedIceObjectState state) const |
| Returns an instance of state dependent brush. More... | |
| IceManagerPtr | getIceManager () const |
| ArmarXManagerItem * | getItem (int row, int column=0) const |
| Returns a requested Model item. More... | |
| ArmarXManagerItem * | getManagerItemByName (const QString &name) |
| Returns the requested manager item by its name. More... | |
| ManagerPrxMap | getManagerProxyMap () const |
| ManagerPrxMap | getManagerProxyMap (const QStringList &managerNames) const |
| std::mutex & | getMutex () |
| Returns the access mutex. More... | |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| Returns the data header. More... | |
| void | populate (const QStringList &managerList) |
| Populates this model with the given manager name list. More... | |
| void | setIceManager (IceManagerPtr iceManager) |
| QStringList | toStringList () const |
| Returns the model as a string list containing the manager names. More... | |
| ~ArmarXManagerModel () override | |
| Model destructor. More... | |
Definition at line 48 of file ArmarXManagerModel.h.
|
strong |
| Enumerator | |
|---|---|
| Endpoint | |
| ApplicationProperties | |
| Components | |
Definition at line 169 of file ArmarXManagerModel.h.
|
strong |
| Enumerator | |
|---|---|
| ComponentStarted | |
| ResolvedDependency | |
| RowType | |
| End | |
Definition at line 162 of file ArmarXManagerModel.h.
Constructs an ArmarXManagerModel.
Definition at line 48 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
Model destructor.
Definition at line 53 of file ArmarXManagerModel.cpp.
| ArmarXManagerModel * clone | ( | ) |
Returns a clone of this ArmarXManagerModel.
Definition at line 709 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void copyFrom | ( | ArmarXManagerModel * | source | ) |
Copies the source model content to this one.
After the copy, this model is basically a clone of the source model
| source | Source model to copy all content from |
Definition at line 727 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
|
slot |
Deletes the selected set of rows from this model.
| selectionModel | The selected rows |
Definition at line 594 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:| bool empty | ( | ) | const |
Definition at line 689 of file ArmarXManagerModel.cpp.
| QBrush getBrush | ( | armarx::ManagedIceObjectState | state | ) | const |
Returns an instance of state dependent brush.
Definition at line 756 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:| IceManagerPtr getIceManager | ( | ) | const |
| ArmarXManagerItem * getItem | ( | int | row, |
| int | column = 0 |
||
| ) | const |
Returns a requested Model item.
| row | The row index of the item |
| column | The column index of the item |
| Pointer | to the ArmarXManagerItem |
Definition at line 58 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:| ArmarXManagerItem * getManagerItemByName | ( | const QString & | name | ) |
Returns the requested manager item by its name.
| name | Requested manager item name |
Definition at line 64 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| ManagerPrxMap getManagerProxyMap | ( | ) | const |
| ManagerPrxMap getManagerProxyMap | ( | const QStringList & | managerNames | ) | const |
| std::mutex & getMutex | ( | ) |
Returns the access mutex.
Definition at line 655 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:
|
override |
Returns the data header.
Definition at line 633 of file ArmarXManagerModel.cpp.
|
slot |
Takes the specified selected rows via the selection model from this and appends the rows to the given destination model.
| selectionModel | The selected rows |
| destinationModel | Manager destination model |
Definition at line 556 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:| void populate | ( | const QStringList & | managerList | ) |
Populates this model with the given manager name list.
| managerList | The manager names to populate this model with. |
Definition at line 695 of file ArmarXManagerModel.cpp.
| void setIceManager | ( | IceManagerPtr | iceManager | ) |
Definition at line 744 of file ArmarXManagerModel.cpp.
|
slot |
Takes the specified selected rows via the selection model from the source model and appends the rows to this one.
| selectionModel | The selected rows |
| sourceModel | Manager source model |
Definition at line 564 of file ArmarXManagerModel.cpp.
Here is the caller graph for this function:| QStringList toStringList | ( | ) | const |
Returns the model as a string list containing the manager names.
Definition at line 675 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
|
slot |
Definition at line 661 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 140 of file ArmarXManagerModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |