![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <DecodeChannel.h>

Public Member Functions | |
| DecodeChannel (SourceDestBuffer dbuf_arg, std::shared_ptr< Decoder > decoder_arg, unsigned bytestreamNumber_arg, uint64_t maxRecordCount_arg) | |
| bool | isOutputBlocked () const |
| bool | isInputBlocked () const |
| void | dump (int indent=0, std::ostream &os=std::cout) |
| has exhausted data in the current packet More... | |
Public Attributes | |
| SourceDestBuffer | dbuf |
| std::shared_ptr< Decoder > | decoder |
| unsigned | bytestreamNumber |
| uint64_t | maxRecordCount |
| uint64_t | currentPacketLogicalOffset |
| size_t | currentBytestreamBufferIndex |
| size_t | currentBytestreamBufferLength |
| bool | inputFinished |
Definition at line 35 of file DecodeChannel.h.
| e57::DecodeChannel::DecodeChannel | ( | SourceDestBuffer | dbuf_arg, |
| std::shared_ptr< Decoder > | decoder_arg, | ||
| unsigned | bytestreamNumber_arg, | ||
| uint64_t | maxRecordCount_arg | ||
| ) |
Definition at line 33 of file DecodeChannel.cpp.
References currentBytestreamBufferIndex, currentBytestreamBufferLength, currentPacketLogicalOffset, inputFinished, and maxRecordCount.
| void e57::DecodeChannel::dump | ( | int | indent = 0, |
| std::ostream & | os = std::cout |
||
| ) |
has exhausted data in the current packet
Definition at line 68 of file DecodeChannel.cpp.
References bytestreamNumber, currentBytestreamBufferIndex, currentBytestreamBufferLength, currentPacketLogicalOffset, dbuf, decoder, e57::SourceDestBuffer::dump(), QtCompat::endl(), inputFinished, isInputBlocked(), isOutputBlocked(), maxRecordCount, and e57::space().
| bool e57::DecodeChannel::isInputBlocked | ( | ) | const |
If have read until the section end, we are done
If have eaten all the input in the current packet, we are blocked.
Definition at line 56 of file DecodeChannel.cpp.
References currentBytestreamBufferIndex, currentBytestreamBufferLength, and inputFinished.
Referenced by dump().
| bool e57::DecodeChannel::isOutputBlocked | ( | ) | const |
If we have completed the entire vector, we are done
If we have filled the dest buffer, we are blocked
Definition at line 44 of file DecodeChannel.cpp.
References e57::SourceDestBuffer::capacity(), dbuf, decoder, and maxRecordCount.
Referenced by e57::_alreadyReadPacket(), and dump().
| unsigned e57::DecodeChannel::bytestreamNumber |
Definition at line 39 of file DecodeChannel.h.
Referenced by dump().
| size_t e57::DecodeChannel::currentBytestreamBufferIndex |
Definition at line 42 of file DecodeChannel.h.
Referenced by DecodeChannel(), dump(), and isInputBlocked().
| size_t e57::DecodeChannel::currentBytestreamBufferLength |
Definition at line 43 of file DecodeChannel.h.
Referenced by DecodeChannel(), dump(), and isInputBlocked().
| uint64_t e57::DecodeChannel::currentPacketLogicalOffset |
Definition at line 41 of file DecodeChannel.h.
Referenced by e57::_alreadyReadPacket(), DecodeChannel(), and dump().
| SourceDestBuffer e57::DecodeChannel::dbuf |
Definition at line 37 of file DecodeChannel.h.
Referenced by dump(), isOutputBlocked(), and e57::CompressedVectorReaderImpl::read().
| std::shared_ptr<Decoder> e57::DecodeChannel::decoder |
Definition at line 38 of file DecodeChannel.h.
Referenced by dump(), and isOutputBlocked().
| bool e57::DecodeChannel::inputFinished |
Definition at line 44 of file DecodeChannel.h.
Referenced by DecodeChannel(), dump(), and isInputBlocked().
| uint64_t e57::DecodeChannel::maxRecordCount |
Definition at line 40 of file DecodeChannel.h.
Referenced by DecodeChannel(), dump(), and isOutputBlocked().