2021-12-03 15:37:49 +01:00
|
|
|
#ifndef FSFW_CFDP_CFDPMESSAGE_H_
|
|
|
|
#define FSFW_CFDP_CFDPMESSAGE_H_
|
|
|
|
|
|
|
|
#include "fsfw/ipc/CommandMessage.h"
|
|
|
|
#include "fsfw/objectmanager/ObjectManagerIF.h"
|
|
|
|
#include "fsfw/storagemanager/StorageManagerIF.h"
|
|
|
|
|
|
|
|
class CFDPMessage {
|
2022-02-02 10:29:30 +01:00
|
|
|
private:
|
|
|
|
CFDPMessage();
|
2021-12-03 15:37:49 +01:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
public:
|
|
|
|
static const uint8_t MESSAGE_ID = messagetypes::CFDP;
|
2021-12-03 15:37:49 +01:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
virtual ~CFDPMessage();
|
|
|
|
static void setCommand(CommandMessage* message, store_address_t cfdpPacket);
|
2021-12-03 15:37:49 +01:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
static store_address_t getStoreId(const CommandMessage* message);
|
|
|
|
|
|
|
|
static void clear(CommandMessage* message);
|
2021-12-03 15:37:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_CFDP_CFDPMESSAGE_H_ */
|