2022-07-26 16:49:46 +02:00
|
|
|
#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) {}
|
2022-07-26 16:49:46 +02:00
|
|
|
|
2022-11-15 11:41:03 +01:00
|
|
|
MessageQueueId_t AcceptsTmMock::getReportReceptionQueue(uint8_t virtualChannel) const {
|
2022-07-26 16:49:46 +02:00
|
|
|
return returnedQueue;
|
|
|
|
}
|
2022-09-14 20:10:41 +02:00
|
|
|
|
|
|
|
const char* AcceptsTmMock::getName() const { return "TM Acceptor Mock"; }
|