2022-09-14 19:48:11 +02:00
|
|
|
#ifndef FSFW_CFDP_PDU_KEEPALIVEPDUSERIALIZER_H_
|
|
|
|
#define FSFW_CFDP_PDU_KEEPALIVEPDUSERIALIZER_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/FileDirectiveCreator.h"
|
|
|
|
|
|
|
|
class KeepAlivePduCreator : public FileDirectiveCreator {
|
|
|
|
public:
|
2023-07-19 13:44:52 +02:00
|
|
|
KeepAlivePduCreator(PduConfig& conf, cfdp::Fss& progress);
|
2022-09-14 19:48:11 +02:00
|
|
|
|
|
|
|
void updateDirectiveFieldLen();
|
|
|
|
|
|
|
|
[[nodiscard]] size_t getSerializedSize() const override;
|
|
|
|
|
|
|
|
ReturnValue_t serialize(uint8_t** buffer, size_t* size, size_t maxSize,
|
|
|
|
Endianness streamEndianness) const override;
|
|
|
|
|
|
|
|
private:
|
2023-07-19 13:44:52 +02:00
|
|
|
cfdp::Fss& progress;
|
2022-09-14 19:48:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_CFDP_PDU_KEEPALIVEPDUSERIALIZER_H_ */
|