|
Grok 20.3.2
|
Enqueues sequence of AllLayersPrecinctPacketParser for a given resolutions. More...
#include <PacketParser.h>
Public Member Functions | |
| ResolutionPacketParser (ITileProcessor *tileProcessor) | |
| Constructs a ResolutionPacketParser. | |
| ~ResolutionPacketParser () | |
| Destroys a ResolutionPacketParser. | |
| void | clearPrecinctParsers (void) |
| Clears map of PrecinctParser. | |
| void | enqueue (uint64_t precinctIndex, PacketParser *parser) |
| Enqueues a PacketParser for a precinct, for concurrent parsing. | |
Public Attributes | |
| ITileProcessor * | tileProcessor_ |
| ITileProcessor | |
| std::unordered_map< uint64_t, std::unique_ptr< AllLayersPrecinctPacketParser > > | allLayerPrecinctParsers_ |
| map of AllLayersPrecinctPacketParser, indexed by precinct index | |
Enqueues sequence of AllLayersPrecinctPacketParser for a given resolutions.
| grk::ResolutionPacketParser::ResolutionPacketParser | ( | ITileProcessor * | tileProcessor | ) |
Constructs a ResolutionPacketParser.
| tileProcess | ITileProcessor |
References tileProcessor_.
| grk::ResolutionPacketParser::~ResolutionPacketParser | ( | ) |
Destroys a ResolutionPacketParser.
References clearPrecinctParsers().
| void grk::ResolutionPacketParser::clearPrecinctParsers | ( | void | ) |
Clears map of PrecinctParser.
References allLayerPrecinctParsers_.
Referenced by ~ResolutionPacketParser().
| void grk::ResolutionPacketParser::enqueue | ( | uint64_t | precinctIndex, |
| PacketParser * | parser ) |
Enqueues a PacketParser for a precinct, for concurrent parsing.
| precinctIndex | precinct index |
| parser | PacketParser |
References allLayerPrecinctParsers_, and tileProcessor_.
Referenced by grk::T2Decompress::parsePacketData().
| std::unordered_map<uint64_t, std::unique_ptr<AllLayersPrecinctPacketParser> > grk::ResolutionPacketParser::allLayerPrecinctParsers_ |
map of AllLayersPrecinctPacketParser, indexed by precinct index
Referenced by clearPrecinctParsers(), and enqueue().
| ITileProcessor* grk::ResolutionPacketParser::tileProcessor_ |
Referenced by enqueue(), and ResolutionPacketParser().