HAL  v4.5.0-147-gff98e36c6
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::LayoutLockerManager Class Reference

#include </home/runner/work/hal/hal/plugins/gui/include/gui/graph_widget/layout_locker.h>

Collaboration diagram for hal::LayoutLockerManager:
Collaboration graph

Public Member Functions

void addLock ()
 
void removeLock ()
 
bool canUpdate (GraphContext *ctx)
 
void removeWaitingContext (GraphContext *ctx)
 

Static Public Member Functions

static LayoutLockerManager * instance ()
 

Detailed Description

Counts how many layout lockers are currently active and suppresses relayouting while that count is not zero.

Definition at line 38 of file layout_locker.h.

Member Function Documentation

◆ addLock()

void hal::LayoutLockerManager::addLock ( )

Definition at line 18 of file layout_locker.cpp.

◆ canUpdate()

bool hal::LayoutLockerManager::canUpdate ( GraphContext *  ctx)

Definition at line 38 of file layout_locker.cpp.

References hal::GraphContext::id().

◆ instance()

LayoutLockerManager * hal::LayoutLockerManager::instance ( )
static

Definition at line 12 of file layout_locker.cpp.

Referenced by hal::GraphContext::~GraphContext().

◆ removeLock()

void hal::LayoutLockerManager::removeLock ( )

◆ removeWaitingContext()

void hal::LayoutLockerManager::removeWaitingContext ( GraphContext *  ctx)

Definition at line 46 of file layout_locker.cpp.

References hal::GraphContext::id().

Referenced by hal::GraphContext::~GraphContext().


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