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

Public Member Functions | |
| SaleaeDataBuffer (uint64_t cnt=0) | |
| Constructor. Generates null instance when no argument is given. More... | |
| ~SaleaeDataBuffer () | |
| Destructor takes care of disposing allocated memory. More... | |
| bool | isNull () const |
Returns whether buffer has data. Will be false when e.g. reading behind EOF. More... | |
| void | convertCoded () |
| Convert data buffer from "hal " format to "halx". More... | |
| void | dump () const |
| Dump buffer content to stdout. More... | |
Public Attributes | |
| uint64_t | mCount |
| Number of elements in buffer. More... | |
| uint64_t * | mTimeArray |
Buffer for mCount transition time values. More... | |
| int * | mValueArray |
Buffer for mCount data values. More... | |
An in-memory buffer of waveform transitions, i.e., an array of time stamps and an array of values.
Definition at line 127 of file saleae_file.h.
| hal::SaleaeDataBuffer::SaleaeDataBuffer | ( | uint64_t | cnt = 0 | ) |
Constructor. Generates null instance when no argument is given.
Definition at line 19 of file saleae_file.cpp.
References mCount, mTimeArray, and mValueArray.
| hal::SaleaeDataBuffer::~SaleaeDataBuffer | ( | ) |
Destructor takes care of disposing allocated memory.
Definition at line 29 of file saleae_file.cpp.
References mTimeArray, and mValueArray.
| void hal::SaleaeDataBuffer::convertCoded | ( | ) |
Convert data buffer from "hal " format to "halx".
Definition at line 464 of file saleae_file.cpp.
References mCount, mTimeArray, and mValueArray.
Referenced by hal::SaleaeOutputFile::put_data().
| void hal::SaleaeDataBuffer::dump | ( | ) | const |
Dump buffer content to stdout.
Definition at line 474 of file saleae_file.cpp.
References mCount, mTimeArray, and mValueArray.
|
inline |
Returns whether buffer has data. Will be false when e.g. reading behind EOF.
Definition at line 146 of file saleae_file.h.
References mCount.
| uint64_t hal::SaleaeDataBuffer::mCount |
Number of elements in buffer.
Definition at line 137 of file saleae_file.h.
Referenced by convertCoded(), dump(), hal::SaleaeInputFile::get_buffered_data(), hal::WaveData::get_events(), isNull(), hal::WaveData::loadSaleae(), hal::WaveDataProviderFile::nextPoint(), hal::SaleaeOutputFile::put_data(), saleae_diff(), SaleaeDataBuffer(), hal::WaveDataProviderFile::storeCurrentDatapoint(), and hal::WaveEditTable::WaveEditTable().
| uint64_t* hal::SaleaeDataBuffer::mTimeArray |
Buffer for mCount transition time values.
Definition at line 140 of file saleae_file.h.
Referenced by convertCoded(), dump(), hal::SaleaeInputFile::get_buffered_data(), hal::WaveData::get_events(), hal::WaveData::loadSaleae(), hal::WaveDataProviderFile::nextPoint(), hal::SaleaeOutputFile::put_data(), saleae_cat(), saleae_diff(), SaleaeDataBuffer(), hal::WaveData::saveSaleae(), hal::WaveDataProviderFile::startValue(), hal::WaveDataProviderFile::storeCurrentDatapoint(), hal::WaveEditTable::WaveEditTable(), and ~SaleaeDataBuffer().
| int* hal::SaleaeDataBuffer::mValueArray |
Buffer for mCount data values.
Definition at line 143 of file saleae_file.h.
Referenced by convertCoded(), dump(), hal::SaleaeInputFile::get_buffered_data(), hal::WaveData::get_events(), hal::WaveData::loadSaleae(), hal::WaveDataProviderFile::nextPoint(), hal::SaleaeOutputFile::put_data(), saleae_cat(), saleae_diff(), SaleaeDataBuffer(), hal::WaveData::saveSaleae(), hal::WaveDataProviderFile::startValue(), hal::WaveDataProviderFile::storeCurrentDatapoint(), hal::WaveEditTable::WaveEditTable(), and ~SaleaeDataBuffer().