Tab.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Ice/Object.h>
4 
5 #include <memory>
6 #include <string>
7 
9 {
10 
11  struct Widget;
12 
13  struct TabImpl;
14 
15  struct Tab
16  {
17  Tab();
18 
19  Tab(Tab&& other);
20 
21  ~Tab();
22 
23  void create(std::string const& name,
24  Ice::ObjectPrx const& remoteGuiObject,
25  Widget const& rootWidget);
26 
27  void remove();
28 
29  void receiveUpdates();
30 
31  void sendUpdates();
32 
33  std::unique_ptr<TabImpl> impl;
34  };
35 
36  // We take the ObjectPrx because we can no longer include our own Ice interface header
37  // since it includes a lot of C++ headers which cause massive compile times.
38  // So we do this in a type-unsafe manner :(
39  void createTab(Ice::ObjectPrx const& remoteGuiObject,
40  std::string const& tabName,
41  Widget const& rootWidget);
42 
43 }
armarx::RemoteGui::Client::Tab::~Tab
~Tab()
Definition: Tab.cpp:27
armarx::RemoteGui::Client::Tab::remove
void remove()
Definition: Tab.cpp:40
armarx::RemoteGui::Client::Tab
Definition: Tab.h:15
armarx::RemoteGui::Client::Tab::impl
std::unique_ptr< TabImpl > impl
Definition: Tab.h:33
armarx::RemoteGui::Client::Tab::sendUpdates
void sendUpdates()
Definition: Tab.cpp:50
armarx::RemoteGui::Client::Widget
Definition: Widgets.h:21
armarx::RemoteGui::Client::Tab::create
void create(std::string const &name, Ice::ObjectPrx const &remoteGuiObject, Widget const &rootWidget)
Definition: Tab.cpp:31
armarx::RemoteGui::Client::Tab::Tab
Tab()
Definition: Tab.cpp:17
armarx::RemoteGui::Client::Tab::receiveUpdates
void receiveUpdates()
Definition: Tab.cpp:45
armarx::RemoteGui::Client
Definition: EigenWidgets.cpp:8
armarx::RemoteGui::Client::createTab
void createTab(Ice::ObjectPrx const &remoteGuiObject, std::string const &tabName, Widget const &rootWidget)