28#include <ArmarXCore/interface/observers/ObserverInterface.h>
55 connect(
this, SIGNAL(
connected()), __widget.data(), SLOT(createNewModel()));
56 connect(__widget.data(),
57 SIGNAL(createFilterClicked(std::string, DatafieldFilterBasePtr)),
71 __widget->clearDetailedView();
83 return qobject_cast<QWidget*>(__widget);
88 DatafieldFilterBasePtr filter)
97 observer->createFilteredDatafield(filter, ref);
98 __widget->updateObservers();
106 if (parent != customToolbar->parent())
108 customToolbar->setParent(parent);
111 return qobject_cast<QToolBar*>(customToolbar);
114 customToolbar =
new QToolBar(parent);
115 customToolbar->setIconSize(QSize(16, 16));
116 QAction* refreshAction =
117 customToolbar->addAction(QIcon(
":/icons/view-refresh-7.png"),
"Refresh observer data");
118 connect(refreshAction, SIGNAL(triggered()), __widget.data(), SLOT(updateObservers()));
120 return qobject_cast<QToolBar*>(customToolbar);
The ArmarXMainWindow class.
std::vector< std::string > getDefaultPackageNames()
getDefaultPackageNames returns the names of all packages which are searched for plugins when the Arma...
DataFieldIdentifier provide the basis to identify data field within a distributed ArmarX scenario.
The DatafieldRef class is similar to the ChannelRef, but points to a specific Datafield instead of to...
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
static VariantInfoPtr ReadInfoFiles(const std::vector< std::string > &packages, bool showErrors=true, bool throwOnError=true)
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
#define ARMARX_INFO
The normal logging level.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< DatafieldRef > DatafieldRefPtr
std::shared_ptr< VariantInfo > VariantInfoPtr
IceInternal::Handle< DataFieldIdentifier > DataFieldIdentifierPtr
Typedef of DataFieldIdentifierPtr as IceInternal::Handle<DataFieldIdentifier> for convenience.