1
0
forked from fsfw/fsfw

fifo replacements

This commit is contained in:
2020-07-07 17:42:37 +02:00
parent dd48f7ccad
commit 399fc0e287
10 changed files with 48 additions and 61 deletions

View File

@ -1,8 +1,7 @@
#ifndef FRAMEWORK_TMTCSERVICES_PUSPARSER_H_
#define FRAMEWORK_TMTCSERVICES_PUSPARSER_H_
#include <framework/container/FIFO.h>
#include <framework/container/DynamicFIFO.h>
#include <utility>
#include <cstdint>
@ -55,7 +54,7 @@ public:
* by the parsePusPackets() function.
* @return
*/
fsfw::FIFO<indexSizePair>* fifo();
DynamicFIFO<indexSizePair>* fifo();
/**
* Retrieve the next index and packet size pair from the FIFO.
@ -69,7 +68,7 @@ private:
//! A FIFO is used to store information about multiple PUS packets
//! inside the receive buffer. The maximum number of entries is defined
//! by the first constructor argument.
fsfw::FIFO<indexSizePair> indexSizePairFIFO;
DynamicFIFO<indexSizePair> indexSizePairFIFO;
bool storeSplitPackets = false;