fsfw/unittests/mocks/AcceptsTmMock.cpp

14 lines
506 B
C++
Raw Normal View History

#include "AcceptsTmMock.h"
2022-07-26 18:46:28 +02:00
AcceptsTmMock::AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToReturn)
: SystemObject(registeredId), returnedQueue(queueToReturn) {}
AcceptsTmMock::AcceptsTmMock(MessageQueueId_t queueToReturn)
: SystemObject(objects::NO_OBJECT, false), returnedQueue(queueToReturn) {}
MessageQueueId_t AcceptsTmMock::getReportReceptionQueue(uint8_t virtualChannel) {
return returnedQueue;
}
2022-08-03 15:12:29 +02:00
const char* AcceptsTmMock::getName() const { return "TM Acceptor Mock"; }