1
0
forked from fsfw/fsfw

merged new changes

This commit is contained in:
2020-07-06 13:41:07 +02:00
parent 2158208a2f
commit bb5de8f110
3 changed files with 24 additions and 6 deletions

View File

@ -4,10 +4,15 @@
#include <framework/container/FIFOBase.h>
#include <vector>
namespace fsfw {
/**
* @brief Simple First-In-First-Out data structure. The maximum size
* can be set in the constructor. THe public interface of
* FIFOBase exposes the user interface for the FIFO.
* can be set in the constructor.
* @details
* The maximum capacity can be determined at run-time, so this container
* performs dynamic memory allocation!
* The public interface of FIFOBase exposes the user interface for the FIFO.
* @tparam T Entry Type
* @tparam capacity Maximum capacity
*/
@ -23,4 +28,6 @@ private:
std::vector<T> values;
};
}
#endif /* FRAMEWORK_CONTAINER_FIFO_H_ */