30#include <ArmarXCore/interface/observers/VariantBase.h>
41 using VariantDataWidgetBase = VariantDataWidgets::VariantDataWidgetBase;
45 using QWidget::QWidget;
48 void update(
const std::vector<VariantBasePtr>& vec);
49 void update(
const std::map<std::string, VariantBasePtr>& map);
52 void updateEntry(
const std::string& name,
const VariantBasePtr& v);
61 void reset(Mode newMode = Mode::Empty);
62 Mode mode{Mode::Empty};
64 std::map<std::string, VariantDataWidgetBase*> entries;
66 int getEntryRow(VariantDataWidgetBase* entry)
const;
107 [type](
const VariantDataPtr& p)
static void registerElement(const std::string &key, std::function< VariantDataWidgetBase *(const VariantDataPtr &)> element)
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::Handle<::armarx::VariantBase > VariantBasePtr