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

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

Inheritance diagram for hal::WaveFormPrimitiveValue:
Inheritance graph
Collaboration diagram for hal::WaveFormPrimitiveValue:
Collaboration graph

Public Member Functions

 WaveFormPrimitiveValue (float x0, float x1, int val, int bits, int base)
 
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 box that shows the numeric value of a multi-bit waveform for the duration it is stable.

Definition at line 111 of file wave_form_primitive.h.

Constructor & Destructor Documentation

◆ WaveFormPrimitiveValue()

hal::WaveFormPrimitiveValue::WaveFormPrimitiveValue ( float  x0,
float  x1,
int  val,
int  bits,
int  base 
)

Member Function Documentation

◆ paint()

◆ value()

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

Reimplemented from hal::WaveFormPrimitive.

Definition at line 121 of file wave_form_primitive.h.


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