27 #include <QStandardItemModel>
30 #include <ArmarXCore/interface/observers/ConditionCheckBase.h>
31 #include <ArmarXCore/interface/observers/ObserverInterface.h>
37 #define OBSERVER_ITEM_TYPE Qt::UserRole + 1
38 #define OBSERVER_ITEM_ID Qt::UserRole + 2
39 #define OBSERVER_ITEM_DELETE Qt::UserRole + 3
72 const ChannelRegistry& channels,
73 const StringConditionCheckMap& checks);
81 QStandardItem* updateObserver(std::string observerName);
82 void updateChannels(QStandardItem* channelsItem,
const ChannelRegistry& channel);
83 void updateChecks(QStandardItem* checksItem,
const StringConditionCheckMap& checks);
86 void markAllForDelete(QStandardItem* observerItem);
87 void deleteUnusedItems(QStandardItem* observerItem);
89 QStandardItem* updateOrInsertItem(QStandardItem* parent, QStandardItem*
insert);
91 QStandardItem* getChildByName(QStandardItem* item,
const QString& name);
93 std::map<std::string, ChannelRegistry> channelRegistry;
94 std::map<std::string, StringConditionCheckMap> availableChecks;