now only scheduling is left
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
#include <fsfw/ipc/QueueFactory.h>
|
||||
#include <fsfw/tmtcservices/TmTcMessage.h>
|
||||
|
||||
PersistentTmStoreWithTmQueue::PersistentTmStoreWithTmQueue(StorageManagerIF& tmStore,
|
||||
PersistentTmStore& persistentTmStore,
|
||||
PersistentTmStoreWithTmQueue::PersistentTmStoreWithTmQueue(PersistentTmStoreArgs args,
|
||||
const char* storeName,
|
||||
uint32_t tmQueueDepth)
|
||||
: tmStore(tmStore), persistentTmStore(persistentTmStore) {
|
||||
: PersistentTmStore(args), storeName(storeName) {
|
||||
tmQueue = QueueFactory::instance()->createMessageQueue(tmQueueDepth);
|
||||
}
|
||||
|
||||
@ -21,8 +21,13 @@ ReturnValue_t PersistentTmStoreWithTmQueue::handleNextTm() {
|
||||
return result;
|
||||
}
|
||||
PusTmReader reader(accessor.second.data(), accessor.second.size());
|
||||
persistentTmStore.storePacket(reader);
|
||||
storePacket(reader);
|
||||
return returnvalue::OK;
|
||||
}
|
||||
|
||||
PersistentTmStore& PersistentTmStoreWithTmQueue::getTmStore() { return persistentTmStore; }
|
||||
const char* PersistentTmStoreWithTmQueue::getName() const { return storeName; }
|
||||
|
||||
MessageQueueId_t PersistentTmStoreWithTmQueue::getReportReceptionQueue(
|
||||
uint8_t virtualChannel) const {
|
||||
return tmQueue->getId();
|
||||
}
|
||||
|
Reference in New Issue
Block a user