![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/MutablePriorityQueue.hpp>
Public Types | |
| using | address = SkipHeapAddressing< blocking > |
Public Member Functions | |
| MutableSkipHeapPriorityQueue (IndexSetter &&index_setter, LessPredicate &&less_predicate) | |
| ~MutableSkipHeapPriorityQueue () | |
| MutableSkipHeapPriorityQueue (MutableSkipHeapPriorityQueue &&)=default | |
| MutableSkipHeapPriorityQueue & | operator= (MutableSkipHeapPriorityQueue &&)=default |
| MutableSkipHeapPriorityQueue (const MutableSkipHeapPriorityQueue &)=delete | |
| MutableSkipHeapPriorityQueue & | operator= (const MutableSkipHeapPriorityQueue &)=delete |
| void | clear () |
| void | reserve (size_t cnt) |
| void | push (const T &item) |
| void | push (T &&item) |
| void | pop () |
| T & | top () |
| void | remove (size_t idx) |
| void | update (size_t idx) |
| size_t | size () const noexcept |
| size_t | heap_size () const noexcept |
| bool | empty () const |
| T & | operator[] (std::size_t idx) noexcept |
| const T & | operator[] (std::size_t idx) const noexcept |
Static Public Member Functions | |
| static constexpr size_t | invalid_id () |
Protected Member Functions | |
| void | update_heap_up (size_t top, size_t bottom) |
| void | update_heap_down (size_t top, size_t bottom) |
| void | pop_back () noexcept |
Private Attributes | |
| std::vector< T > | m_heap |
| IndexSetter | m_index_setter |
| LessPredicate | m_less_predicate |
| using Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::address = SkipHeapAddressing<blocking> |
|
inline |
|
inline |
|
default |
|
delete |
|
inline |
Referenced by Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::~MutableSkipHeapPriorityQueue().
Here is the caller graph for this function:
|
inline |
|
inlinenoexcept |
|
inlinestaticconstexpr |
References Slic3r::InvalidQueueID.
|
delete |
|
default |
|
inlinenoexcept |
References Slic3r::SkipHeapAddressing< blocking >::is_padding(), and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::m_heap.
Here is the call graph for this function:
|
inlinenoexcept |
References Slic3r::SkipHeapAddressing< blocking >::is_padding(), and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::m_heap.
Here is the call graph for this function:
|
inline |
|
inlineprotectednoexcept |
References Slic3r::SkipHeapAddressing< blocking >::is_padding(), and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::m_heap.
Here is the call graph for this function:
|
inline |
Referenced by Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::update().
Here is the caller graph for this function:
|
inline |
|
inline |
Referenced by Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::update().
Here is the caller graph for this function:
|
inline |
References Slic3r::SkipHeapAddressing< blocking >::block_size, and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::m_heap.
|
inlinenoexcept |
|
inline |
|
inline |
References Slic3r::SkipHeapAddressing< blocking >::is_padding(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::m_heap, Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::push(), and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::remove().
Here is the call graph for this function:
|
inlineprotected |
|
inlineprotected |
|
private |
Referenced by Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::empty(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::heap_size(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::operator[](), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::operator[](), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::pop_back(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::reserve(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::size(), Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::top(), and Slic3r::MutableSkipHeapPriorityQueue< T, IndexSetter, LessPredicate, blocking, ResetIndexWhenRemoved >::update().
|
private |
|
private |