|
gtsam_points
|
A sliding window container that allows absolute indexed access. It automatically shrinks by removing leading null elements. More...
#include <indexed_sliding_window.hpp>
Public Member Functions | |
| IndexedSlidingWindow (bool auto_shrink=true) | |
| Constructor. | |
| bool | empty () const |
| size_t | size () const |
| size_t | inner_size () const |
| void | clear () |
| void | push_back (const T &value) |
| void | emplace_back (T &&value) |
| void | shrink () |
| Remove leading null elements from the container. | |
| T & | operator[] (size_t index) |
| const T & | operator[] (size_t index) const |
| std::deque< T >::iterator | inner_begin () |
| std::deque< T >::iterator | inner_end () |
| std::deque< T >::const_iterator | inner_begin () const |
| std::deque< T >::const_iterator | inner_end () const |
| T & | inner_front () |
| const T & | inner_front () const |
| T & | inner_back () |
| const T & | inner_back () const |
| T & | back () |
| const T & | back () const |
A sliding window container that allows absolute indexed access. It automatically shrinks by removing leading null elements.
|
inline |
Constructor.
| auto_shrink | If true, the container will automatically shrink by removing leading null elements when adding or accessing new elements. |