HAL  v4.5.0-124-g47ab54673
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::user_feedback::LayoutLocker Class Reference

#include <hal_core/plugin_system/user_feedback.h>

Collaboration diagram for hal::user_feedback::LayoutLocker:
Collaboration graph

Public Member Functions

 LayoutLocker ()
 
 ~LayoutLocker ()
 
 LayoutLocker (const LayoutLocker &)=delete
 
LayoutLockeroperator= (const LayoutLocker &)=delete
 

Detailed Description

Suppresses layout updates of the user interface for as long as the object exists.

This keeps an operation that changes many gates or nets from triggering a re-layout of the graph views on every single change, which would otherwise dominate its runtime. Lockers may be nested, the layout is updated again once the last one is destroyed.

Definition at line 69 of file user_feedback.h.

Constructor & Destructor Documentation

◆ LayoutLocker() [1/2]

hal::user_feedback::LayoutLocker::LayoutLocker ( )

Definition at line 34 of file user_feedback.cpp.

References hal::UIPluginInterface::set_layout_locker().

◆ ~LayoutLocker()

hal::user_feedback::LayoutLocker::~LayoutLocker ( )

Definition at line 42 of file user_feedback.cpp.

References hal::UIPluginInterface::set_layout_locker().

◆ LayoutLocker() [2/2]

hal::user_feedback::LayoutLocker::LayoutLocker ( const LayoutLocker )
delete

Member Function Documentation

◆ operator=()

LayoutLocker& hal::user_feedback::LayoutLocker::operator= ( const LayoutLocker )
delete

The documentation for this class was generated from the following files: