![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/DataStructures/SizedContainer.hpp>
Public Member Functions | |
virtual void | clear ()=0 |
Clear the container. More... | |
virtual FwSizeType | getSize () const =0 |
virtual FwSizeType | getCapacity () const =0 |
bool | isEmpty () const |
bool | isFull () const |
Protected Member Functions | |
SizedContainer () | |
Zero-argument constructor. More... | |
virtual | ~SizedContainer ()=default |
Destructor. More... | |
Definition at line 14 of file SizedContainer.hpp.
|
inlineprotected |
Zero-argument constructor.
Definition at line 30 of file SizedContainer.hpp.
|
protectedvirtualdefault |
Destructor.
|
pure virtual |
Clear the container.
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalRedBlackTreeMap< K, V >, Fw::ExternalArraySet< T >, Fw::ExternalArrayMap< K, V >, Fw::RedBlackTreeMap< K, V, C >, Fw::RedBlackTreeSet< T, C >, Fw::ArrayMap< K, V, C >, Fw::ArraySet< T, C >, Fw::ExternalFifoQueue< T >, Fw::ExternalStack< T >, Fw::ExternalStack< Index >, Fw::FifoQueue< T, C >, and Fw::Stack< T, C >.
|
pure virtual |
Get the capacity (maximum number of items storable in the container)
Implemented in Fw::ExternalFifoQueue< T >, Fw::ExternalStack< T >, Fw::ExternalStack< Index >, Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalRedBlackTreeMap< K, V >, Fw::ExternalArraySet< T >, Fw::ExternalArrayMap< K, V >, Fw::RedBlackTreeMap< K, V, C >, Fw::RedBlackTreeSet< T, C >, Fw::ArrayMap< K, V, C >, Fw::ArraySet< T, C >, Fw::FifoQueue< T, C >, and Fw::Stack< T, C >.
|
pure virtual |
Get the size (number of items stored in the container)
Implemented in Fw::ExternalFifoQueue< T >, Fw::ExternalStack< T >, Fw::ExternalStack< Index >, Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalRedBlackTreeMap< K, V >, Fw::ExternalArraySet< T >, Fw::ExternalArrayMap< K, V >, Fw::RedBlackTreeMap< K, V, C >, Fw::RedBlackTreeSet< T, C >, Fw::ArrayMap< K, V, C >, Fw::ArraySet< T, C >, Fw::FifoQueue< T, C >, and Fw::Stack< T, C >.
|
inline |
Check whether the container is empty
Definition at line 63 of file SizedContainer.hpp.
|
inline |
Check whether the container is full
Definition at line 67 of file SizedContainer.hpp.