16 constexpr int kCycleDurationMs = 100;
19 while (!runningTask->isStopped())
27 c.waitForCycleDuration();
35 remoteGui->createTab(
tabName(), widget);
45 if (!runningTask->isStopped())
51 remoteGui->removeTab(
tabName());
66 RemoteGuiInterfacePrx&
72 const RemoteGuiInterfacePrx&
This util class helps with keeping a cycle time during a control cycle.
armarx::RemoteGui::TabProxy & getTab()
virtual void handleEvents(armarx::RemoteGui::TabProxy &tab)=0
RemoteGuiBase(const RemoteGuiInterfacePrx &remoteGui)
void createTab(const WidgetPtr &widget)
virtual const std::string & tabName() const =0
RemoteGuiInterfacePrx & getRemoteGui()
void start()
Starts the thread.
#define ARMARX_INFO
The normal logging level.
#define ARMARX_DEBUG
The logging level for output that is only interesting while debugging.