1
0
forked from fsfw/fsfw

FIFO updates

This commit is contained in:
2020-09-01 12:54:33 +02:00
parent a634875b4b
commit bec562ece0
4 changed files with 15 additions and 13 deletions

View File

@ -1,5 +1,5 @@
#ifndef FRAMEWORK_CONTAINER_FIFOBASE_H_
#define FRAMEWORK_CONTAINER_FIFOBASE_H_
#ifndef FSFW_CONTAINER_FIFOBASE_H_
#define FSFW_CONTAINER_FIFOBASE_H_
#include "../returnvalues/HasReturnvaluesIF.h"
#include <cstddef>
@ -48,7 +48,7 @@ public:
size_t getMaxCapacity() const;
protected:
void setData(T* data);
void setContainer(T* data);
size_t maxCapacity = 0;
T* values;
@ -60,6 +60,6 @@ protected:
size_t next(size_t current);
};
#include "../container/FIFOBase.tpp"
#include "FIFOBase.tpp"
#endif /* FRAMEWORK_CONTAINER_FIFOBASE_H_ */
#endif /* FSFW_CONTAINER_FIFOBASE_H_ */