2022-09-14 19:48:11 +02:00
|
|
|
#ifndef FSFW_CFDP_PDU_KEEPALIVEREADER_H_
|
|
|
|
#define FSFW_CFDP_PDU_KEEPALIVEREADER_H_
|
|
|
|
|
2023-07-19 13:44:52 +02:00
|
|
|
#include "fsfw/cfdp/Fss.h"
|
2022-09-14 19:48:11 +02:00
|
|
|
#include "fsfw/cfdp/pdu/FileDirectiveReader.h"
|
|
|
|
|
|
|
|
class KeepAlivePduReader : public FileDirectiveReader {
|
|
|
|
public:
|
2023-07-19 13:44:52 +02:00
|
|
|
KeepAlivePduReader(const uint8_t* pduBuf, size_t maxSize, cfdp::Fss& progress);
|
2022-09-14 19:48:11 +02:00
|
|
|
|
|
|
|
ReturnValue_t parseData() override;
|
|
|
|
|
2023-07-19 13:44:52 +02:00
|
|
|
cfdp::Fss& getProgress();
|
2022-09-14 19:48:11 +02:00
|
|
|
|
|
|
|
private:
|
2023-07-19 13:44:52 +02:00
|
|
|
cfdp::Fss& progress;
|
2022-09-14 19:48:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_CFDP_PDU_KEEPALIVEPDUREADER_H_ */
|