Robin Mueller
c64f1f8693
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
30 lines
937 B
C++
30 lines
937 B
C++
#ifndef FSFW_EXAMPLE_COMMON_CFDPTMFUNNEL_H
|
|
#define FSFW_EXAMPLE_COMMON_CFDPTMFUNNEL_H
|
|
|
|
#include <mission/tmtc/TmFunnelBase.h>
|
|
|
|
#include <atomic>
|
|
#include <vector>
|
|
|
|
#include "fsfw/objectmanager/SystemObject.h"
|
|
#include "fsfw/storagemanager/StorageManagerIF.h"
|
|
#include "fsfw/tmtcservices/AcceptsTelemetryIF.h"
|
|
#include "fsfw/tmtcservices/TmTcMessage.h"
|
|
|
|
class CfdpTmFunnel : public TmFunnelBase {
|
|
public:
|
|
CfdpTmFunnel(TmFunnelBase::FunnelCfg cfg, std::optional<MessageQueueId_t> fileStoreDest,
|
|
StorageManagerIF& ramToFileStore, uint16_t cfdpInCcsdsApid);
|
|
[[nodiscard]] const char* getName() const override;
|
|
ReturnValue_t performOperation(uint8_t opCode);
|
|
ReturnValue_t initialize() override;
|
|
|
|
private:
|
|
ReturnValue_t handlePacket(TmTcMessage& msg);
|
|
|
|
std::optional<MessageQueueId_t> fileStoreDest;
|
|
StorageManagerIF& ramToFileStore;
|
|
uint16_t cfdpInCcsdsApid;
|
|
};
|
|
#endif // FSFW_EXAMPLE_COMMON_CFDPTMFUNNEL_H
|