|
#include <armarx/localization_and_mapping/cartographer_adapter/TimeQueue.h>
Public Types | |
using | QueueConstIterator = typename QueueType::const_iterator |
using | QueueConstReverseIterator = typename QueueType::const_reverse_iterator |
using | QueueIterator = typename QueueType::iterator |
using | QueueType = std::deque< MessageType > |
Public Member Functions | |
void | clear () |
bool | has (int64_t timestamp) const |
void | insert (MessageType message) |
const MessageType & | lookupAt (int64_t referenceTimestamp) const |
std::size_t | size () const noexcept |
TimeQueue (const std::size_t maxQueueSize) | |
TimeQueue (TimeQueue &&other) noexcept | |
std::vector< int64_t > | timestamps () const |
void | trimUntil (int64_t timestamp) |
Protected Member Functions | |
bool | _has (int64_t timestamp) const |
QueueConstIterator | findFirstElementAtOrAfter (int64_t timestamp) const |
QueueConstReverseIterator | findFirstElementAtOrBefore (int64_t timestamp) const |
Protected Attributes | |
std::shared_mutex | mtx |
QueueType | queue |
Definition at line 50 of file TimeQueue.h.
using QueueConstIterator = typename QueueType::const_iterator |
Definition at line 173 of file TimeQueue.h.
using QueueConstReverseIterator = typename QueueType::const_reverse_iterator |
Definition at line 174 of file TimeQueue.h.
using QueueIterator = typename QueueType::iterator |
Definition at line 172 of file TimeQueue.h.
using QueueType = std::deque<MessageType> |
Definition at line 171 of file TimeQueue.h.
|
inline |
Definition at line 54 of file TimeQueue.h.
Definition at line 58 of file TimeQueue.h.
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
Definition at line 129 of file TimeQueue.h.
|
inline |
|
inline |
Definition at line 111 of file TimeQueue.h.
|
inlinenoexcept |
|
inline |
Definition at line 93 of file TimeQueue.h.
|
inline |
Definition at line 138 of file TimeQueue.h.
|
mutableprotected |
Definition at line 229 of file TimeQueue.h.
|
protected |
Definition at line 227 of file TimeQueue.h.