![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|

Classes | |
| struct | FreeListNode |
| struct | FreeList |
| struct | Block |
| struct | ProducerBase |
| struct | ExplicitProducer |
| struct | ImplicitProducer |
| struct | ImplicitProducerKVP |
| struct | ImplicitProducerHash |
Public Types | |
| typedef ::duckdb_moodycamel::ProducerToken | producer_token_t |
| typedef ::duckdb_moodycamel::ConsumerToken | consumer_token_t |
| typedef Traits::index_t | index_t |
| typedef Traits::size_t | size_t |
Public Member Functions | |
| ConcurrentQueue (size_t capacity=6 *BLOCK_SIZE) | |
| ConcurrentQueue (size_t minCapacity, size_t maxExplicitProducers, size_t maxImplicitProducers) | |
| ConcurrentQueue (ConcurrentQueue const &) MOODYCAMEL_DELETE_FUNCTION | |
| ConcurrentQueue & | operator= (ConcurrentQueue const &) MOODYCAMEL_DELETE_FUNCTION |
| ConcurrentQueue (ConcurrentQueue &&other) MOODYCAMEL_NOEXCEPT | |
| ConcurrentQueue & | operator= (ConcurrentQueue &&other) MOODYCAMEL_NOEXCEPT |
| void | swap (ConcurrentQueue &other) MOODYCAMEL_NOEXCEPT |
| bool | enqueue (T const &item) |
| bool | enqueue (T &&item) |
| bool | enqueue (producer_token_t const &token, T const &item) |
| bool | enqueue (producer_token_t const &token, T &&item) |
| template<typename It> | |
| bool | enqueue_bulk (It itemFirst, size_t count) |
| template<typename It> | |
| bool | enqueue_bulk (producer_token_t const &token, It itemFirst, size_t count) |
| bool | try_enqueue (T const &item) |
| bool | try_enqueue (T &&item) |
| bool | try_enqueue (producer_token_t const &token, T const &item) |
| bool | try_enqueue (producer_token_t const &token, T &&item) |
| template<typename It> | |
| bool | try_enqueue_bulk (It itemFirst, size_t count) |
| template<typename It> | |
| bool | try_enqueue_bulk (producer_token_t const &token, It itemFirst, size_t count) |
| template<typename U> | |
| bool | try_dequeue (U &item) |
| template<typename U> | |
| bool | try_dequeue_non_interleaved (U &item) |
| template<typename U> | |
| bool | try_dequeue (consumer_token_t &token, U &item) |
| template<typename It> | |
| size_t | try_dequeue_bulk (It itemFirst, size_t max) |
| template<typename It> | |
| size_t | try_dequeue_bulk (consumer_token_t &token, It itemFirst, size_t max) |
| template<typename U> | |
| bool | try_dequeue_from_producer (producer_token_t const &producer, U &item) |
| template<typename It> | |
| size_t | try_dequeue_bulk_from_producer (producer_token_t const &producer, It itemFirst, size_t max) |
| size_t | size_approx () const |
| size_t | size_producers_approx () const |
| size_t | size_producer_approx (producer_token_t const &producer) const |
Static Public Member Functions | |
| static bool | is_lock_free () |
Static Public Attributes | |
| static const size_t | BLOCK_SIZE = static_cast<size_t>(Traits::BLOCK_SIZE) |
| static const size_t | EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD = static_cast<size_t>(Traits::EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD) |
| static const size_t | EXPLICIT_INITIAL_INDEX_SIZE = static_cast<size_t>(Traits::EXPLICIT_INITIAL_INDEX_SIZE) |
| static const size_t | IMPLICIT_INITIAL_INDEX_SIZE = static_cast<size_t>(Traits::IMPLICIT_INITIAL_INDEX_SIZE) |
| static const size_t | INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = static_cast<size_t>(Traits::INITIAL_IMPLICIT_PRODUCER_HASH_SIZE) |
| static const std::uint32_t | EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE = static_cast<std::uint32_t>(Traits::EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE) |
| static const size_t | MAX_SUBQUEUE_SIZE = (details::const_numeric_max<size_t>::value - static_cast<size_t>(Traits::MAX_SUBQUEUE_SIZE) < BLOCK_SIZE) ? details::const_numeric_max<size_t>::value : ((static_cast<size_t>(Traits::MAX_SUBQUEUE_SIZE) + (BLOCK_SIZE - 1)) / BLOCK_SIZE * BLOCK_SIZE) |
Private Types | |
| enum | AllocationMode { CanAlloc , CannotAlloc } |
| enum | InnerQueueContext { implicit_context = 0 , explicit_context = 1 } |
Private Member Functions | |
| ConcurrentQueue & | swap_internal (ConcurrentQueue &other) |
| template<AllocationMode canAlloc, typename U> | |
| bool | inner_enqueue (producer_token_t const &token, U &&element) |
| template<AllocationMode canAlloc, typename U> | |
| bool | inner_enqueue (U &&element) |
| template<AllocationMode canAlloc, typename It> | |
| bool | inner_enqueue_bulk (producer_token_t const &token, It itemFirst, size_t count) |
| template<AllocationMode canAlloc, typename It> | |
| bool | inner_enqueue_bulk (It itemFirst, size_t count) |
| bool | update_current_producer_after_rotation (consumer_token_t &token) |
| void | populate_initial_block_list (size_t blockCount) |
| Block * | try_get_block_from_initial_pool () |
| void | add_block_to_free_list (Block *block) |
| void | add_blocks_to_free_list (Block *block) |
| Block * | try_get_block_from_free_list () |
| template<AllocationMode canAlloc> | |
| Block * | requisition_block () |
| ProducerBase * | recycle_or_create_producer (bool isExplicit) |
| ProducerBase * | recycle_or_create_producer (bool isExplicit, bool &recycled) |
| ProducerBase * | add_producer (ProducerBase *producer) |
| void | reown_producers () |
| void | populate_initial_implicit_producer_hash () |
| void | swap_implicit_producer_hashes (ConcurrentQueue &other) |
| ImplicitProducer * | get_or_add_implicit_producer () |
Static Private Member Functions | |
| template<typename TAlign> | |
| static void * | aligned_malloc (size_t size) |
| template<typename TAlign> | |
| static void | aligned_free (void *ptr) |
| template<typename U> | |
| static U * | create_array (size_t count) |
| template<typename U> | |
| static void | destroy_array (U *p, size_t count) |
| template<typename U> | |
| static U * | create () |
| template<typename U, typename A1> | |
| static U * | create (A1 &&a1) |
| template<typename U> | |
| static void | destroy (U *p) |
Private Attributes | |
| std::atomic< ProducerBase * > | producerListTail |
| std::atomic< std::uint32_t > | producerCount |
| std::atomic< size_t > | initialBlockPoolIndex |
| Block * | initialBlockPool |
| size_t | initialBlockPoolSize |
| FreeList< Block > | freeList |
| std::atomic< ImplicitProducerHash * > | implicitProducerHash |
| std::atomic< size_t > | implicitProducerHashCount |
| ImplicitProducerHash | initialImplicitProducerHash |
| std::array< ImplicitProducerKVP, INITIAL_IMPLICIT_PRODUCER_HASH_SIZE > | initialImplicitProducerHashEntries |
| std::atomic_flag | implicitProducerHashResizeInProgress |
| std::atomic< std::uint32_t > | nextExplicitConsumerId |
| std::atomic< std::uint32_t > | globalExplicitConsumerOffset |
Friends | |
| struct | ProducerToken |
| struct | ConsumerToken |
| struct | ExplicitProducer |
| struct | ImplicitProducer |
| class | ConcurrentQueueTests |
| template<typename XT, typename XTraits> | |
| void | duckdb_moodycamel::swap (typename ConcurrentQueue< XT, XTraits >::ImplicitProducerKVP &, typename ConcurrentQueue< XT, XTraits >::ImplicitProducerKVP &) MOODYCAMEL_NOEXCEPT |
|
private |
|
private |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |