|
Grok 20.3.2
|
Sequence of shared_ptr<DataSlice> tile parts parsed from either TLM or SOT marker. More...
#include <TPFetchSeq.h>
Public Member Functions | |
| ~TPSeq ()=default | |
| Destroys a TPSeq. | |
| bool | push_back (uint8_t tilePart, uint8_t numTileParts, uint64_t offset, uint32_t length) |
| Pushes a new tile part to the back of the sequence. | |
| void | reset () |
| void | complete (uint64_t tileStreamOffset) |
| Completes calculations such as absolute tile part offsets, which are not available when TLM markers are parsed. | |
| Public Member Functions inherited from grk::SharedPtrSeq< DataSlice > | |
| std::shared_ptr< DataSlice > & | operator[] (size_t index) |
| iterator | begin () |
| Returns iterator to beginning of sequence. | |
| const_iterator | end () const |
| Returns const iterator to end of sequence. | |
| bool | empty () const |
| Checks if there are no objects in store. | |
| size_t | size () const |
| Returns number of objects in store. | |
| void | push_back (std::shared_ptr< DataSlice > ptr) |
| Adds a pre-existing shared_ptr to the end of the sequence. | |
| void | resize (size_t N) |
| void | clear () |
Private Attributes | |
| uint8_t | signalledNumTileParts_ = 0 |
| Number of tile parts signalled in code stream This number is either explicitly stored in SOT, or deduced from TLM markers. | |
Additional Inherited Members | |
| Public Types inherited from grk::SharedPtrSeq< DataSlice > | |
| using | iterator |
| using | const_iterator |
Sequence of shared_ptr<DataSlice> tile parts parsed from either TLM or SOT marker.
|
default |
Destroys a TPSeq.
|
inline |
Completes calculations such as absolute tile part offsets, which are not available when TLM markers are parsed.
| tileStreamOffset | tile stream offset in code stream |
References signalledNumTileParts_, and grk::SharedPtrSeq< DataSlice >::size().
|
inline |
Pushes a new tile part to the back of the sequence.
| tilePart | tile part index |
| numTileParts | number of tile parts in tile |
| offset | tile part start position |
| length | tile part length |
References grk::grklog, grk::SharedPtrSeq< T >::push_back(), signalledNumTileParts_, and grk::SharedPtrSeq< DataSlice >::size().
|
inline |
References grk::SharedPtrSeq< DataSlice >::clear(), and signalledNumTileParts_.
|
private |
Number of tile parts signalled in code stream This number is either explicitly stored in SOT, or deduced from TLM markers.
Referenced by complete(), push_back(), and reset().