2022-07-26 16:49:46 +02:00
|
|
|
#ifndef FSFW_TESTS_ACCEPTSTMMOCK_H
|
|
|
|
#define FSFW_TESTS_ACCEPTSTMMOCK_H
|
|
|
|
|
2022-07-26 18:46:28 +02:00
|
|
|
#include "fsfw/objectmanager/SystemObject.h"
|
2022-07-26 16:49:46 +02:00
|
|
|
#include "fsfw/tmtcservices/AcceptsTelemetryIF.h"
|
|
|
|
|
2022-07-26 18:46:28 +02:00
|
|
|
class AcceptsTmMock : public SystemObject, public AcceptsTelemetryIF {
|
2022-07-26 16:49:46 +02:00
|
|
|
public:
|
2022-07-26 18:46:28 +02:00
|
|
|
AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToReturn);
|
2022-07-26 16:49:46 +02:00
|
|
|
explicit AcceptsTmMock(MessageQueueId_t queueToReturn);
|
|
|
|
|
2023-08-03 13:03:58 +02:00
|
|
|
[[nodiscard]] MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) const override;
|
|
|
|
[[nodiscard]] const char* getName() const override;
|
2022-07-26 16:49:46 +02:00
|
|
|
|
|
|
|
MessageQueueId_t returnedQueue;
|
|
|
|
};
|
|
|
|
#endif // FSFW_TESTS_ACCEPTSTMMOCK_H
|