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

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

Collaboration diagram for hal::TimeInterval:
Collaboration graph

Public Member Functions

 TimeInterval (quint64 t0=0, quint64 t1=0)
 
bool operator< (const TimeInterval &other) const
 

Public Attributes

double mCenterTime
 
double mDuration
 

Detailed Description

A time interval given by its center and its duration.

Definition at line 49 of file wave_form_painted.h.

Constructor & Destructor Documentation

◆ TimeInterval()

hal::TimeInterval::TimeInterval ( quint64  t0 = 0,
quint64  t1 = 0 
)
inline

Definition at line 54 of file wave_form_painted.h.

Member Function Documentation

◆ operator<()

bool hal::TimeInterval::operator< ( const TimeInterval other) const

Definition at line 14 of file wave_form_painted.cpp.

References mCenterTime, and mDuration.

Member Data Documentation

◆ mCenterTime

double hal::TimeInterval::mCenterTime

Definition at line 52 of file wave_form_painted.h.

Referenced by operator<(), and hal::WaveGraphicsCanvas::toggleZoom().

◆ mDuration

double hal::TimeInterval::mDuration

Definition at line 53 of file wave_form_painted.h.

Referenced by operator<(), and hal::WaveGraphicsCanvas::toggleZoom().


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