#include <DecodeChannel.h>
Public Member Functions | |
| DecodeChannel (SourceDestBuffer dbuf_arg, std::shared_ptr< Decoder > decoder_arg, unsigned bytestreamNumber_arg, uint64_t maxRecordCount_arg) | |
| bool | isInputBlocked () const |
| bool | isOutputBlocked () const |
Public Attributes | |
| unsigned | bytestreamNumber |
| size_t | currentBytestreamBufferIndex |
| size_t | currentBytestreamBufferLength |
| uint64_t | currentPacketLogicalOffset |
| SourceDestBuffer | dbuf |
| std::shared_ptr< Decoder > | decoder |
| bool | inputFinished |
| uint64_t | maxRecordCount |
| e57::DecodeChannel::DecodeChannel | ( | SourceDestBuffer | dbuf_arg, |
| std::shared_ptr< Decoder > | decoder_arg, | ||
| unsigned | bytestreamNumber_arg, | ||
| uint64_t | maxRecordCount_arg | ||
| ) |
| 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.
References currentBytestreamBufferIndex, currentBytestreamBufferLength, and inputFinished.
| 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
References e57::SourceDestBuffer::capacity(), dbuf, decoder, and maxRecordCount.
| unsigned e57::DecodeChannel::bytestreamNumber |
| size_t e57::DecodeChannel::currentBytestreamBufferIndex |
Referenced by DecodeChannel(), and isInputBlocked().
| size_t e57::DecodeChannel::currentBytestreamBufferLength |
Referenced by DecodeChannel(), and isInputBlocked().
| uint64_t e57::DecodeChannel::currentPacketLogicalOffset |
Referenced by DecodeChannel().
| SourceDestBuffer e57::DecodeChannel::dbuf |
Referenced by isOutputBlocked(), and e57::CompressedVectorReaderImpl::read().
| std::shared_ptr<Decoder> e57::DecodeChannel::decoder |
Referenced by isOutputBlocked().
| bool e57::DecodeChannel::inputFinished |
Referenced by DecodeChannel(), and isInputBlocked().
| uint64_t e57::DecodeChannel::maxRecordCount |
Referenced by DecodeChannel(), and isOutputBlocked().