HAL
gui_layout_locker.cpp
Go to the documentation of this file.
1
#include "
dataflow_analysis/utils/gui_layout_locker.h
"
2
3
#include "
hal_core/plugin_system/plugin_interface_ui.h
"
4
#include "
hal_core/plugin_system/plugin_manager.h
"
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
19
GuiLayoutLocker::~GuiLayoutLocker
()
20
{
21
if
(mGuiPlugin)
22
{
23
mGuiPlugin->
set_layout_locker
(
false
);
24
}
25
}
26
}
// namespace dataflow
27
}
// namespace hal
hal::UIPluginInterface::set_layout_locker
virtual void set_layout_locker(bool enable)=0
hal::dataflow::GuiLayoutLocker::~GuiLayoutLocker
~GuiLayoutLocker()
Definition:
gui_layout_locker.cpp:19
hal::dataflow::GuiLayoutLocker::GuiLayoutLocker
GuiLayoutLocker()
Definition:
gui_layout_locker.cpp:10
gui_layout_locker.h
hal
Definition:
parser_liberty.cpp:10
plugin_interface_ui.h
plugin_manager.h
plugins
dataflow_analysis
src
utils
gui_layout_locker.cpp
Generated on Fri Feb 14 2025 14:22:41 for HAL by
1.9.1