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

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

Collaboration diagram for hal::WaveFormPainted:
Collaboration graph

Public Member Functions

 WaveFormPainted ()
 
 WaveFormPainted (const WaveFormPainted &other)
 
 ~WaveFormPainted ()
 
void clearPrimitives ()
 
void paint (int y0, QPainter &painter)
 
void generate (WaveDataProvider *wdp, const WaveTransform *trans, const WaveScrollbar *sbar, bool *loop)
 
void generateTrigger (WaveDataProvider *wdp, const WaveTransform *trans, const WaveScrollbar *sbar, bool *loop)
 
bool generateGroup (const WaveData *wd, const WaveItemHash *hash)
 
bool generateBoolean (const WaveData *wd, const WaveDataList *wdList, const WaveItemHash *hash)
 
int numberPrimitives () const
 
float x0 () const
 
float x1 () const
 
int valueXpos (int xpos)
 
const WaveZoomShiftvalidity () const
 
bool isEmpty () const
 
QMap< float, int > primitiveValues ()
 
TimeInterval shortestToggle () const
 
void setCursorValue (u64 tCursor, int xpos, int val)
 
int cursorValueStored (u64 tCursor, int xpos) const
 
int cursorValuePainted (u64 tCursor, int xpos)
 
int cursorValueTrigger (u64 tCursor, int xpos)
 
WaveFormPaintedoperator= (const WaveFormPainted &other)
 

Detailed Description

The list of drawing primitives that make up one rendered waveform, together with the zoom level they are valid for.

Definition at line 61 of file wave_form_painted.h.

Constructor & Destructor Documentation

◆ WaveFormPainted() [1/2]

hal::WaveFormPainted::WaveFormPainted ( )

Definition at line 21 of file wave_form_painted.cpp.

◆ WaveFormPainted() [2/2]

hal::WaveFormPainted::WaveFormPainted ( const WaveFormPainted other)

Definition at line 25 of file wave_form_painted.cpp.

◆ ~WaveFormPainted()

hal::WaveFormPainted::~WaveFormPainted ( )

Definition at line 51 of file wave_form_painted.cpp.

References clearPrimitives().

Member Function Documentation

◆ clearPrimitives()

void hal::WaveFormPainted::clearPrimitives ( )

◆ cursorValuePainted()

int hal::WaveFormPainted::cursorValuePainted ( u64  tCursor,
int  xpos 
)

◆ cursorValueStored()

int hal::WaveFormPainted::cursorValueStored ( u64  tCursor,
int  xpos 
) const

Definition at line 437 of file wave_form_painted.cpp.

References hal::SaleaeDataTuple::sReadError.

Referenced by hal::WaveItem::cursorValue().

◆ cursorValueTrigger()

int hal::WaveFormPainted::cursorValueTrigger ( u64  tCursor,
int  xpos 
)

Definition at line 447 of file wave_form_painted.cpp.

References hal::WaveFormPrimitive::x0().

Referenced by hal::WaveItem::cursorValue().

◆ generate()

◆ generateBoolean()

◆ generateGroup()

◆ generateTrigger()

◆ isEmpty()

bool hal::WaveFormPainted::isEmpty ( ) const
inline

Definition at line 93 of file wave_form_painted.h.

References QList::isEmpty().

Referenced by generateBoolean(), and generateGroup().

◆ numberPrimitives()

int hal::WaveFormPainted::numberPrimitives ( ) const
inline

Definition at line 85 of file wave_form_painted.h.

References QList::size().

Referenced by hal::WaveItem::dump().

◆ operator=()

WaveFormPainted & hal::WaveFormPainted::operator= ( const WaveFormPainted other)

Definition at line 56 of file wave_form_painted.cpp.

References shortestToggle().

◆ paint()

void hal::WaveFormPainted::paint ( int  y0,
QPainter painter 
)

Definition at line 77 of file wave_form_painted.cpp.

References hal::WaveFormPrimitive::paint().

◆ primitiveValues()

QMap< float, int > hal::WaveFormPainted::primitiveValues ( )

◆ setCursorValue()

void hal::WaveFormPainted::setCursorValue ( u64  tCursor,
int  xpos,
int  val 
)

Definition at line 430 of file wave_form_painted.cpp.

Referenced by hal::WaveItem::cursorValue(), and hal::WaveValueThread::run().

◆ shortestToggle()

TimeInterval hal::WaveFormPainted::shortestToggle ( ) const
inline

Definition at line 95 of file wave_form_painted.h.

Referenced by operator=().

◆ validity()

const WaveZoomShift& hal::WaveFormPainted::validity ( ) const
inline

Definition at line 92 of file wave_form_painted.h.

Referenced by generateBoolean(), and generateGroup().

◆ valueXpos()

int hal::WaveFormPainted::valueXpos ( int  xpos)

◆ x0()

float hal::WaveFormPainted::x0 ( ) const

Definition at line 408 of file wave_form_painted.cpp.

Referenced by hal::WaveItem::dump().

◆ x1()

float hal::WaveFormPainted::x1 ( ) const

Definition at line 419 of file wave_form_painted.cpp.

Referenced by hal::WaveItem::dump(), generateBoolean(), and generateGroup().


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