|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|

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 WaveZoomShift & | validity () 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) |
| WaveFormPainted & | operator= (const WaveFormPainted &other) |
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.
| hal::WaveFormPainted::WaveFormPainted | ( | ) |
Definition at line 21 of file wave_form_painted.cpp.
| hal::WaveFormPainted::WaveFormPainted | ( | const WaveFormPainted & | other | ) |
Definition at line 25 of file wave_form_painted.cpp.
| hal::WaveFormPainted::~WaveFormPainted | ( | ) |
Definition at line 51 of file wave_form_painted.cpp.
References clearPrimitives().
| void hal::WaveFormPainted::clearPrimitives | ( | ) |
Definition at line 67 of file wave_form_painted.cpp.
Referenced by hal::WaveItem::deletePainted(), generateBoolean(), generateGroup(), hal::WaveLoaderThread::run(), and ~WaveFormPainted().
| int hal::WaveFormPainted::cursorValuePainted | ( | u64 | tCursor, |
| int | xpos | ||
| ) |
Definition at line 461 of file wave_form_painted.cpp.
References hal::SaleaeDataTuple::sReadError, hal::WaveGroupValue::sTooManyTransitions, valueXpos(), and hal::BooleanFunction::Z.
Referenced by hal::WaveItem::cursorValue().
| 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().
| 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().
| void hal::WaveFormPainted::generate | ( | WaveDataProvider * | wdp, |
| const WaveTransform * | trans, | ||
| const WaveScrollbar * | sbar, | ||
| bool * | loop | ||
| ) |
Definition at line 309 of file wave_form_painted.cpp.
References hal::WaveFormPrimitiveFilled::add(), hal::WaveDataProvider::bits(), generateTrigger(), hal::WaveDataProvider::isGroup(), hal::WaveDataProvider::isTrigger(), hal::SaleaeDataTuple::mTime, hal::SaleaeDataTuple::mValue, hal::WaveDataProvider::nextPoint(), hal::SaleaeDataTuple::readError(), hal::SaleaeDataTuple::sReadError, hal::WaveDataProvider::startValue(), hal::WaveScrollbar::tLeftI(), hal::WaveTransform::tMax(), hal::WaveTransform::tMin(), hal::WaveDataProvider::valueBase(), hal::WaveScrollbar::viewportWidth(), hal::WaveFormPrimitive::x0(), and hal::WaveScrollbar::xPosF().
Referenced by hal::WaveLoaderThread::run(), and hal::WaveItem::startGeneratePainted().
| bool hal::WaveFormPainted::generateBoolean | ( | const WaveData * | wd, |
| const WaveDataList * | wdList, | ||
| const WaveItemHash * | hash | ||
| ) |
Definition at line 188 of file wave_form_painted.cpp.
References hal::WaveDataBoolean::children(), clearPrimitives(), QMap::constBegin(), QMap::constEnd(), hal::WaveData::dataIndex(), isEmpty(), QMap::isEmpty(), QMap::const_iterator::key(), hal::WaveDataList::maxGroupId(), hal::WaveItem::mMutex, hal::WaveItem::mPainted, primitiveValues(), hal::WaveGroupValue::sTooManyTransitions, hal::WaveDataBoolean::truthTable(), validity(), hal::WaveGroupValue::value(), QHash::value(), hal::WaveItemIndex::Wire, and x1().
| bool hal::WaveFormPainted::generateGroup | ( | const WaveData * | wd, |
| const WaveItemHash * | hash | ||
| ) |
Definition at line 107 of file wave_form_painted.cpp.
References hal::WaveDataGroup::bits(), hal::WaveDataGroup::childrenWaveIndex(), clearPrimitives(), QMap::constBegin(), QMap::constEnd(), hal::WaveData::id(), isEmpty(), QMap::isEmpty(), QMap::const_iterator::key(), hal::WaveItem::mMutex, hal::WaveItem::mPainted, primitiveValues(), hal::WaveGroupValue::sTooManyTransitions, validity(), hal::WaveGroupValue::value(), QHash::value(), hal::WaveData::valueBase(), hal::WaveItemIndex::Wire, and x1().
| void hal::WaveFormPainted::generateTrigger | ( | WaveDataProvider * | wdp, |
| const WaveTransform * | trans, | ||
| const WaveScrollbar * | sbar, | ||
| bool * | loop | ||
| ) |
Definition at line 281 of file wave_form_painted.cpp.
References hal::SaleaeDataTuple::mTime, hal::SaleaeDataTuple::mValue, hal::WaveDataProvider::nextPoint(), hal::SaleaeDataTuple::sReadError, hal::WaveDataProvider::startValue(), hal::WaveScrollbar::tLeftI(), hal::WaveTransform::tMax(), hal::WaveScrollbar::viewportWidth(), and hal::WaveScrollbar::xPosF().
Referenced by generate().
|
inline |
Definition at line 93 of file wave_form_painted.h.
References QList::isEmpty().
Referenced by generateBoolean(), and generateGroup().
|
inline |
Definition at line 85 of file wave_form_painted.h.
References QList::size().
Referenced by hal::WaveItem::dump().
| WaveFormPainted & hal::WaveFormPainted::operator= | ( | const WaveFormPainted & | other | ) |
Definition at line 56 of file wave_form_painted.cpp.
References shortestToggle().
| void hal::WaveFormPainted::paint | ( | int | y0, |
| QPainter & | painter | ||
| ) |
Definition at line 77 of file wave_form_painted.cpp.
References hal::WaveFormPrimitive::paint().
| QMap< float, int > hal::WaveFormPainted::primitiveValues | ( | ) |
Definition at line 95 of file wave_form_painted.cpp.
References QMap::insert(), hal::WaveFormPrimitive::value(), hal::WaveFormPrimitive::x0(), and hal::WaveFormPrimitive::x1().
Referenced by generateBoolean(), and generateGroup().
| 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().
|
inline |
Definition at line 95 of file wave_form_painted.h.
Referenced by operator=().
|
inline |
Definition at line 92 of file wave_form_painted.h.
Referenced by generateBoolean(), and generateGroup().
| int hal::WaveFormPainted::valueXpos | ( | int | xpos | ) |
Definition at line 84 of file wave_form_painted.cpp.
References hal::WaveFormPrimitive::isInRange(), hal::SaleaeDataTuple::sReadError, and hal::WaveFormPrimitive::value().
Referenced by cursorValuePainted().
| float hal::WaveFormPainted::x0 | ( | ) | const |
Definition at line 408 of file wave_form_painted.cpp.
Referenced by hal::WaveItem::dump().
| float hal::WaveFormPainted::x1 | ( | ) | const |
Definition at line 419 of file wave_form_painted.cpp.
Referenced by hal::WaveItem::dump(), generateBoolean(), and generateGroup().