CSB fifo depth configurable
This commit is contained in:
@ -8,13 +8,12 @@
|
||||
#include "../tmtcservices/AcceptsTelemetryIF.h"
|
||||
#include "../serviceinterface/ServiceInterfaceStream.h"
|
||||
|
||||
|
||||
Service1TelecommandVerification::Service1TelecommandVerification(
|
||||
object_id_t objectId, uint16_t apid, uint8_t serviceId,
|
||||
object_id_t targetDestination):
|
||||
object_id_t targetDestination, uint16_t messageQueueDepth):
|
||||
SystemObject(objectId), apid(apid), serviceId(serviceId),
|
||||
targetDestination(targetDestination) {
|
||||
tmQueue = QueueFactory::instance()->createMessageQueue();
|
||||
tmQueue = QueueFactory::instance()->createMessageQueue(messageQueueDepth);
|
||||
}
|
||||
|
||||
Service1TelecommandVerification::~Service1TelecommandVerification() {}
|
||||
|
@ -44,7 +44,8 @@ public:
|
||||
static const uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::PUS_SERVICE_1;
|
||||
|
||||
Service1TelecommandVerification(object_id_t objectId,
|
||||
uint16_t apid, uint8_t serviceId, object_id_t targetDestination);
|
||||
uint16_t apid, uint8_t serviceId, object_id_t targetDestination,
|
||||
uint16_t messageQueueDepth);
|
||||
virtual ~Service1TelecommandVerification();
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user