fsfw/unittests/mocks/AcceptsTmMock.h

18 lines
574 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);
MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) override;
2022-08-03 15:12:29 +02:00
const char* getName() const override;
MessageQueueId_t returnedQueue;
};
#endif // FSFW_TESTS_ACCEPTSTMMOCK_H