F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Fw::SizedContainer Class Referenceabstract

#include <Fw/DataStructures/SizedContainer.hpp>

Inheritance diagram for Fw::SizedContainer:
Fw::FifoQueueBase< T > Fw::MapBase< K, V > Fw::SetBase< T > Fw::StackBase< T > Fw::StackBase< Index > Fw::ExternalFifoQueue< T > Fw::FifoQueue< T, C > Fw::ArrayMap< K, V, C > Fw::ExternalArrayMap< K, V > Fw::ExternalRedBlackTreeMap< K, V > Fw::RedBlackTreeMap< K, V, C > Fw::ArraySet< T, C > Fw::ExternalArraySet< T > Fw::ExternalRedBlackTreeSet< T > Fw::RedBlackTreeSet< T, C > Fw::ExternalStack< T > Fw::Stack< T, C > Fw::ExternalStack< Index >

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...
 

Detailed Description

Definition at line 14 of file SizedContainer.hpp.

Constructor & Destructor Documentation

◆ SizedContainer()

Fw::SizedContainer::SizedContainer ( )
inlineprotected

Zero-argument constructor.

Definition at line 30 of file SizedContainer.hpp.

◆ ~SizedContainer()

virtual Fw::SizedContainer::~SizedContainer ( )
protectedvirtualdefault

Destructor.

Member Function Documentation

◆ clear()

◆ getCapacity()

◆ getSize()

◆ isEmpty()

bool Fw::SizedContainer::isEmpty ( ) const
inline

Check whether the container is empty

Returns
True if the container is empty

Definition at line 63 of file SizedContainer.hpp.

◆ isFull()

bool Fw::SizedContainer::isFull ( ) const
inline

Check whether the container is full

Returns
True if the container is full

Definition at line 67 of file SizedContainer.hpp.


The documentation for this class was generated from the following file: