![]() |
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.
|

Public Types | |
| using | value_type = T |
| using | const_reference = const T& |
Public Member Functions | |
| buffer (const buffer &)=delete | |
| void | operator= (const buffer &)=delete |
| T * | begin () FMT_NOEXCEPT |
| T * | end () FMT_NOEXCEPT |
| std::size_t | size () const FMT_NOEXCEPT |
| std::size_t | capacity () const FMT_NOEXCEPT |
| T * | data () FMT_NOEXCEPT |
| const T * | data () const FMT_NOEXCEPT |
| void | resize (std::size_t new_size) |
| void | clear () |
| void | reserve (std::size_t new_capacity) |
| void | push_back (const T &value) |
| template<typename U> | |
| void | append (const U *begin, const U *end) |
| T & | operator[] (std::size_t index) |
| const T & | operator[] (std::size_t index) const |
Protected Member Functions | |
| buffer (std::size_t sz) FMT_NOEXCEPT | |
| buffer (T *p=nullptr, std::size_t sz=0, std::size_t cap=0) FMT_NOEXCEPT | |
| void | set (T *buf_data, std::size_t buf_capacity) FMT_NOEXCEPT |
| virtual void | grow (std::size_t capacity)=0 |
Private Attributes | |
| T * | ptr_ |
| std::size_t | size_ |
| std::size_t | capacity_ |
A contiguous memory buffer with an optional growing ability.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Sets the buffer data and capacity.

|
protectedpure virtual |
Increases the buffer capacity to hold at least capacity elements.
Implemented in basic_memory_buffer< T, SIZE, Allocator >, basic_memory_buffer< bigit, bigits_capacity >, basic_memory_buffer< char >, basic_memory_buffer< wchar_t >, and internal::container_buffer< Container >.


|
inline |
|
inline |
|
inline |
Returns the size of this buffer.

|
inline |
Returns the capacity of this buffer.

|
inline |
Returns a pointer to the buffer data.
|
inline |
Returns a pointer to the buffer data.
|
inline |
Resizes the buffer. If T is a POD type new elements may not be initialized.

|
inline |
Clears this buffer.
|
inline |
Reserves space to store at least capacity elements.


|
inline |
| template FMT_API void internal::buffer< T >::append | ( | const U * | begin, |
| const U * | end ) |
Appends data to the end of the buffer.

|
inline |
|
inline |