28 #include <ArmarXCore/interface/observers/ObserverInterface.h>
29 #include <ArmarXCore/interface/observers/ConditionCheckBase.h>
33 #include <QStandardItemModel>
39 #define OBSERVER_ITEM_TYPE Qt::UserRole+1
40 #define OBSERVER_ITEM_ID Qt::UserRole+2
41 #define OBSERVER_ITEM_DELETE Qt::UserRole+3
71 void updateModel(
const std::string& observerName,
const ChannelRegistry& channels,
const StringConditionCheckMap& checks);
78 QStandardItem* updateObserver(std::string observerName);
79 void updateChannels(QStandardItem* channelsItem,
const ChannelRegistry& channel);
80 void updateChecks(QStandardItem* checksItem,
const StringConditionCheckMap& checks);
83 void markAllForDelete(QStandardItem* observerItem);
84 void deleteUnusedItems(QStandardItem* observerItem);
86 QStandardItem* updateOrInsertItem(QStandardItem* parent, QStandardItem*
insert);
88 QStandardItem* getChildByName(QStandardItem* item,
const QString& name);
90 std::map<std::string, ChannelRegistry> channelRegistry;
91 std::map<std::string, StringConditionCheckMap> availableChecks;