|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <Array.hpp>
Public Member Functions | |
| bool | push_back (const T &x) |
| void | remove (unsigned idx) |
| void | erase (T *item) |
| T & | operator[] (size_t n) |
| const T & | operator[] (size_t n) const |
| T & | at (size_t n) |
| const T & | at (size_t n) const |
| size_t | size () const |
| size_t | max_size () const |
| size_t | capacity () const |
| bool | empty () const |
| bool | is_overflowed () |
| T * | begin () |
| T * | end () |
| const T * | begin () const |
| const T * | end () const |
Private Attributes | |
| T | _items [N] |
| size_t | _size {0} |
| bool | _overflow {false} |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 47 of file Array.hpp.
Referenced by SRF02::init().
|
inline |
|
inline |
Definition at line 88 of file Array.hpp.
Referenced by SRF02::init(), and SRF02::Run().
|
private |
Definition at line 103 of file Array.hpp.
Referenced by px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::at(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::begin(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::end(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::erase(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::operator[](), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::push_back(), and px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::remove().
|
private |
Definition at line 105 of file Array.hpp.
Referenced by px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::is_overflowed(), and px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::push_back().
|
private |
Definition at line 104 of file Array.hpp.
Referenced by px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::empty(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::end(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::erase(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::push_back(), px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::remove(), and px4::Array< uint8_t, RANGE_FINDER_MAX_SENSORS >::size().