|
pjmsg_mcap_wrapper
|
A priority queue of jobs for an indexed MCAP reader to execute.
Definition at line 43 of file read_job_queue.hpp.
#include <read_job_queue.hpp>
Public Member Functions | |
| ReadJobQueue (bool reverse) | |
| void | push (DecompressChunkJob &&decompressChunkJob) |
| void | push (ReadMessageJob &&readMessageJob) |
| ReadJob | pop () |
| size_t | len () const |
Static Private Member Functions | |
| static Timestamp | TimeComparisonKey (const ReadJob &job, bool reverse) |
| return the timestamp key that should be used to compare jobs. | |
| static RecordOffset | PositionComparisonKey (const ReadJob &job, bool reverse) |
| static bool | CompareForward (const ReadJob &a, const ReadJob &b) |
| static bool | CompareReverse (const ReadJob &a, const ReadJob &b) |
Private Attributes | |
| bool | reverse_ = false |
| std::vector< ReadJob > | heap_ |
|
inlineexplicit |
Definition at line 111 of file read_job_queue.hpp.
|
inlinestaticprivate |
Definition at line 92 of file read_job_queue.hpp.
|
inlinestaticprivate |
Definition at line 101 of file read_job_queue.hpp.
|
inline |
Definition at line 142 of file read_job_queue.hpp.
|
inline |
Definition at line 131 of file read_job_queue.hpp.
|
inlinestaticprivate |
Definition at line 71 of file read_job_queue.hpp.
|
inline |
Definition at line 113 of file read_job_queue.hpp.
|
inline |
Definition at line 122 of file read_job_queue.hpp.
|
inlinestaticprivate |
return the timestamp key that should be used to compare jobs.
Definition at line 51 of file read_job_queue.hpp.
|
private |
Definition at line 46 of file read_job_queue.hpp.
|
private |
Definition at line 45 of file read_job_queue.hpp.