eive-obsw/mission/tmtc/PersistentTmStoreWithTmQueue.h

21 lines
698 B
C
Raw Normal View History

2023-03-09 17:44:05 +01:00
#ifndef MISSION_TMTC_PERSISTENTTMSTOREWITHTMQUEUE_H_
#define MISSION_TMTC_PERSISTENTTMSTOREWITHTMQUEUE_H_
#include <mission/tmtc/PersistentTmStore.h>
2023-03-09 19:42:20 +01:00
class PersistentTmStoreWithTmQueue : public PersistentTmStore, public AcceptsTelemetryIF {
2023-03-09 17:44:05 +01:00
public:
2023-03-09 19:42:20 +01:00
PersistentTmStoreWithTmQueue(PersistentTmStoreArgs args, const char* storeName,
2023-03-09 17:44:05 +01:00
uint32_t tmQueueDepth);
ReturnValue_t handleNextTm();
2023-03-09 19:42:20 +01:00
[[nodiscard]] const char* getName() const override;
[[nodiscard]] MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) const override;
2023-03-09 17:44:05 +01:00
private:
2023-03-09 19:42:20 +01:00
const char* storeName;
2023-03-09 17:44:05 +01:00
MessageQueueIF* tmQueue;
};
#endif /* MISSION_TMTC_PERSISTENTTMSTOREWITHTMQUEUE_H_ */