Go to the documentation of this file.
31 #include <QHBoxLayout>
32 #include <QFormLayout>
33 #include <QPushButton>
34 #include <QTreeWidget>
35 #include <QTreeWidgetItem>
41 #include <RobotAPI/interface/units/RobotUnit/RobotUnitInterface.h>
42 #include <RobotAPI/interface/units/RobotUnit/NJointController.h>
45 #include <RobotAPI/gui-plugins/RobotUnitPlugin/ui_NJointControllersWidget.h>
49 class NJointControllersWidget;
50 class NJointControllersWidgetEntry;
51 class NJointControllersWidgetRemoteFunction;
74 void add(
const NJointControllerDescriptionWithStatus& ds);
76 std::map<std::string, NJointControllersWidgetEntry*> entries;
77 std::map<std::string, NJointControllerStatus> statusUpdates;
78 std::map<std::string, NJointControllerDescriptionWithStatus> controllersCreated;
79 std::set<std::string> controllersDeleted;
81 void onPushButtonStopAll_clicked();
82 void onPushButtonRemoveAll_clicked();
106 QTreeWidget& treeWidget,
107 const NJointControllerDescription& desc
124 void activateController();
125 void deactivateController();
126 void deleteController();
128 void hideDeviceList();
130 void setDeviceListVisible(
bool vis);
132 const bool deletable;
135 QTreeWidgetItem* header;
137 std::vector<QTreeWidgetItem*> devsToModes;
146 QTreeWidget& treeWidget,
147 QTreeWidgetItem& header,
148 const std::string& functionName,
149 const NJointControllerInterfacePrx& ctrl,
154 QTreeWidgetItem* functionHeader;
156 std::string functionName;
157 NJointControllerInterfacePrx ctrl;
159 QCheckBox* execOnParamChange;
162 std::map<std::string, VariantBasePtr> paramValues;
bool matchMode(const QString &mode)
bool isRequestedState(const QString &state)
bool matchName(const QString &name)
void setVisible(bool vis)
bool isActiveState(const QString &state)
std::shared_ptr< Value > value()
bool matchDevice(const QString &dev)
bool matchClass(const QString &name)
NJointControllersWidgetEntry(NJointControllersWidget &parent, QTreeWidget &treeWidget, const NJointControllerDescription &desc)
bool isErrorState(const QString &state)
void update(const NJointControllerStatus &status)
This file offers overloads of toIce() and fromIce() functions for STL container types.