HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::WaveLogicTimescale Class Reference

#include </home/runner/work/hal/hal/plugins/simulator/waveform_viewer/include/waveform_viewer/wave_timescale.h>

Collaboration diagram for hal::WaveLogicTimescale:
Collaboration graph

Public Member Functions

 WaveLogicTimescale (double scale)
 
quint64 minorInterval () const
 
quint64 majorInterval () const
 
quint64 labelInterval () const
 

Detailed Description

Computes the minor and major tick spacing that best fits the currently visible time window.

Definition at line 37 of file wave_timescale.h.

Constructor & Destructor Documentation

◆ WaveLogicTimescale()

hal::WaveLogicTimescale::WaveLogicTimescale ( double  scale)

Definition at line 63 of file wave_timescale.cpp.

Member Function Documentation

◆ labelInterval()

quint64 hal::WaveLogicTimescale::labelInterval ( ) const
inline

Definition at line 46 of file wave_timescale.h.

Referenced by hal::WaveTimescale::paintEvent().

◆ majorInterval()

quint64 hal::WaveLogicTimescale::majorInterval ( ) const
inline

Definition at line 45 of file wave_timescale.h.

Referenced by hal::WaveTimescale::paintEvent().

◆ minorInterval()

quint64 hal::WaveLogicTimescale::minorInterval ( ) const
inline

Definition at line 44 of file wave_timescale.h.

Referenced by hal::WaveTimescale::paintEvent().


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