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

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

Inheritance diagram for hal::WaveFormPrimitiveHline:
Inheritance graph
Collaboration diagram for hal::WaveFormPrimitiveHline:
Collaboration graph

Public Member Functions

 WaveFormPrimitiveHline (float x0, float x1, int val)
 
void paint (int y0, QPainter &painter)
 
int value () const
 
- Public Member Functions inherited from hal::WaveFormPrimitive
 WaveFormPrimitive (float x0, float x1)
 
virtual ~WaveFormPrimitive ()
 
float x0 () const
 
float x1 () const
 
bool isInRange (int x) const
 

Additional Inherited Members

- Protected Attributes inherited from hal::WaveFormPrimitive
float mX0
 
float mX1
 

Detailed Description

A horizontal line, i.e., a stretch during which the value does not change.

Definition at line 55 of file wave_form_primitive.h.

Constructor & Destructor Documentation

◆ WaveFormPrimitiveHline()

hal::WaveFormPrimitiveHline::WaveFormPrimitiveHline ( float  x0,
float  x1,
int  val 
)
inline

Definition at line 59 of file wave_form_primitive.h.

Member Function Documentation

◆ paint()

void hal::WaveFormPrimitiveHline::paint ( int  y0,
QPainter painter 
)
virtual

◆ value()

int hal::WaveFormPrimitiveHline::value ( ) const
inlinevirtual

Reimplemented from hal::WaveFormPrimitive.

Definition at line 61 of file wave_form_primitive.h.


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