A priority queue of jobs for an indexed MCAP reader to execute.
More...
#include <read_job_queue.hpp>
A priority queue of jobs for an indexed MCAP reader to execute.
Definition at line 43 of file read_job_queue.hpp.
◆ ReadJobQueue()
mcap::internal::ReadJobQueue::ReadJobQueue |
( |
bool |
reverse | ) |
|
|
inlineexplicit |
◆ CompareForward()
static bool mcap::internal::ReadJobQueue::CompareForward |
( |
const ReadJob & |
a, |
|
|
const ReadJob & |
b |
|
) |
| |
|
inlinestaticprivate |
◆ CompareReverse()
static bool mcap::internal::ReadJobQueue::CompareReverse |
( |
const ReadJob & |
a, |
|
|
const ReadJob & |
b |
|
) |
| |
|
inlinestaticprivate |
◆ len()
size_t mcap::internal::ReadJobQueue::len |
( |
| ) |
const |
|
inline |
◆ pop()
ReadJob mcap::internal::ReadJobQueue::pop |
( |
| ) |
|
|
inline |
◆ PositionComparisonKey()
static RecordOffset mcap::internal::ReadJobQueue::PositionComparisonKey |
( |
const ReadJob & |
job, |
|
|
bool |
reverse |
|
) |
| |
|
inlinestaticprivate |
◆ push() [1/2]
◆ push() [2/2]
void mcap::internal::ReadJobQueue::push |
( |
ReadMessageJob && |
readMessageJob | ) |
|
|
inline |
◆ TimeComparisonKey()
static Timestamp mcap::internal::ReadJobQueue::TimeComparisonKey |
( |
const ReadJob & |
job, |
|
|
bool |
reverse |
|
) |
| |
|
inlinestaticprivate |
return the timestamp key that should be used to compare jobs.
Definition at line 51 of file read_job_queue.hpp.
◆ heap_
std::vector<ReadJob> mcap::internal::ReadJobQueue::heap_ |
|
private |
◆ reverse_
bool mcap::internal::ReadJobQueue::reverse_ = false |
|
private |
The documentation for this struct was generated from the following file: