HAL
gui_layout_locker.cpp
Go to the documentation of this file.
2 
5 
6 namespace hal
7 {
8  namespace dataflow
9  {
10  GuiLayoutLocker::GuiLayoutLocker() : mGuiPlugin(nullptr)
11  {
12  mGuiPlugin = plugin_manager::get_plugin_instance<UIPluginInterface>("hal_gui");
13  if (mGuiPlugin)
14  {
15  mGuiPlugin->set_layout_locker(true);
16  }
17  }
18 
20  {
21  if (mGuiPlugin)
22  {
23  mGuiPlugin->set_layout_locker(false);
24  }
25  }
26  } // namespace dataflow
27 } // namespace hal
virtual void set_layout_locker(bool enable)=0