2022-02-16 18:15:06 +01:00
|
|
|
#include "HouseKeepingMock.h"
|
|
|
|
|
2022-06-16 07:00:09 +02:00
|
|
|
#include <fsfw/ipc/QueueFactory.h>
|
2022-02-16 18:15:06 +01:00
|
|
|
#include <fsfw/objectmanager/frameworkObjects.h>
|
|
|
|
|
2022-06-16 07:00:09 +02:00
|
|
|
HouseKeepingMock::HouseKeepingMock() : SystemObject(objects::PUS_SERVICE_3_HOUSEKEEPING) {
|
|
|
|
auto mqArgs = MqArgs(objects::PUS_SERVICE_3_HOUSEKEEPING, static_cast<void*>(this));
|
|
|
|
commandQueue = QueueFactory::instance()->createMessageQueue(
|
|
|
|
5, MessageQueueMessage::MAX_MESSAGE_SIZE, &mqArgs);
|
|
|
|
}
|
2022-02-16 18:15:06 +01:00
|
|
|
|
2022-06-16 07:00:09 +02:00
|
|
|
MessageQueueId_t HouseKeepingMock::getHkQueue() const { return commandQueue->getId(); }
|