InterpolatingTimeQueue< MessageType > Class Template Reference

#include <armarx/localization_and_mapping/cartographer_adapter/InterpolatingTimeQueue.h>

+ Inheritance diagram for InterpolatingTimeQueue< MessageType >:

Public Member Functions

 InterpolatingTimeQueue (const std::size_t maxQueueSize=100)
 
MessageType lookupInterpolate (int64_t timestamp) const
 
std::size_t size () const noexcept
 
- Public Member Functions inherited from TimeQueue< MessageType >
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)
 

Additional Inherited Members

- Public Types inherited from TimeQueue< MessageType >
using QueueConstIterator = typename QueueType::const_iterator
 
using QueueConstReverseIterator = typename QueueType::const_reverse_iterator
 
using QueueIterator = typename QueueType::iterator
 
using QueueType = std::deque< MessageType >
 
- Protected Member Functions inherited from TimeQueue< MessageType >
bool _has (int64_t timestamp) const
 
QueueConstIterator findFirstElementAtOrAfter (int64_t timestamp) const
 
QueueConstReverseIterator findFirstElementAtOrBefore (int64_t timestamp) const
 
- Protected Attributes inherited from TimeQueue< MessageType >
std::shared_mutex mtx
 
QueueType queue
 

Detailed Description

template<typename MessageType>
class armarx::localization_and_mapping::cartographer_adapter::InterpolatingTimeQueue< MessageType >

Definition at line 52 of file InterpolatingTimeQueue.h.

Constructor & Destructor Documentation

◆ InterpolatingTimeQueue()

InterpolatingTimeQueue ( const std::size_t  maxQueueSize = 100)
inline

Definition at line 55 of file InterpolatingTimeQueue.h.

Member Function Documentation

◆ lookupInterpolate()

MessageType lookupInterpolate ( int64_t  timestamp) const
inline

Definition at line 61 of file InterpolatingTimeQueue.h.

◆ size()

std::size_t size ( ) const
inlinenoexcept

Definition at line 88 of file InterpolatingTimeQueue.h.


The documentation for this class was generated from the following file: