MCPcopy Create free account
hub / github.com/PDAL/PDAL / isOutputBlocked

Method isOutputBlocked

plugins/e57/libE57Format/src/DecodeChannel.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 bool DecodeChannel::isOutputBlocked() const
46 {
47 // If we have completed the entire vector, we are done
48 if ( decoder->totalRecordsCompleted() >= maxRecordCount )
49 {
50 return ( true );
51 }
52
53 // If we have filled the dest buffer, we are blocked
54 return ( dbuf.impl()->nextIndex() == dbuf.impl()->capacity() );
55 }
56
57 bool DecodeChannel::isInputBlocked() const
58 {

Callers 2

_alreadyReadPacketFunction · 0.80

Calls 3

nextIndexMethod · 0.80
totalRecordsCompletedMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected