WidgetProxy.cpp
Go to the documentation of this file.
1 #include "WidgetProxy.h"
2 
3 
4 namespace armarx::RemoteGui
5 {
6  ButtonProxy TabProxy::getButton(const std::string& name)
7  {
8  return ButtonProxy(this, name);
9  }
10 
11  bool TabProxy::getButtonClicked(const std::string& name)
12  {
13  return getButton(name).clicked();
14  }
15 
16  bool TabProxy::hasValueChanged(const std::string& name)
17  {
19  return oldValues.at(name) != currentValues.at(name);
20  }
21 }
22 
armarx::RemoteGui::TabProxy::hasValueChanged
bool hasValueChanged(std::string const &name)
Definition: WidgetProxy.cpp:16
armarx::RemoteGui
Definition: LightweightRemoteGuiComponentPlugin.h:30
armarx::RemoteGui::ButtonProxy
Definition: WidgetProxy.h:108
ARMARX_TRACE
#define ARMARX_TRACE
Definition: trace.h:69
armarx::RemoteGui::TabProxy::getButton
ButtonProxy getButton(std::string const &name)
Definition: WidgetProxy.cpp:6
armarx::RemoteGui::ButtonProxy::clicked
bool clicked() const
Definition: WidgetProxy.h:331
WidgetProxy.h
armarx::RemoteGui::TabProxy::getButtonClicked
bool getButtonClicked(std::string const &name)
Definition: WidgetProxy.cpp:11