fsfw/unittests/mock/AcceptsTmMock.h

18 lines
608 B
C
Raw Normal View History

#ifndef FSFW_TESTS_ACCEPTSTMMOCK_H
#define FSFW_TESTS_ACCEPTSTMMOCK_H
2022-07-26 18:46:28 +02:00
#include "fsfw/objectmanager/SystemObject.h"
#include "fsfw/tmtcservices/AcceptsTelemetryIF.h"
2022-07-26 18:46:28 +02:00
class AcceptsTmMock : public SystemObject, public AcceptsTelemetryIF {
public:
2022-07-26 18:46:28 +02:00
AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToReturn);
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;
MessageQueueId_t returnedQueue;
};
#endif // FSFW_TESTS_ACCEPTSTMMOCK_H