fsfw/unittests/mocks/AcceptsTmMock.cpp
Robin Mueller 6ca1a5c796
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
fix unittests
2022-11-10 16:11:05 +01:00

14 lines
512 B
C++

#include "AcceptsTmMock.h"
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) const {
return returnedQueue;
}
const char* AcceptsTmMock::getName() const { return "TM Acceptor Mock"; }