Persistent TM Store #320

Merged
muellerr merged 109 commits from mueller/pus-15-tm-storage into develop 2023-02-24 19:03:39 +01:00
Showing only changes of commit 82c97656f1 - Show all commits

View File

@ -14,7 +14,7 @@ TmStore::TmStore(object_id_t objectId, const char* baseDir, std::string baseName
RolloverInterval intervalUnit, uint32_t intervalCount, timeval& currentTv,
StorageManagerIF& tmStore, SdCardMountedIF& sdcMan)
: SystemObject(objectId),
baseDir(std::move(baseDir)),
baseDir(baseDir),
muellerr marked this conversation as resolved
Review

I don't get why the stores need a reference to a central time. They can look that up by their own I think. Is it necessary to have all stores working on the exact same time?

I don't get why the stores need a reference to a central time. They can look that up by their own I think. Is it necessary to have all stores working on the exact same time?
Review

No. I'll probably update the code so each persistent store calls `Clock::getClock_timeval

No. I'll probably update the code so each persistent store calls `Clock::getClock_timeval
baseName(std::move(baseName)),
currentTv(currentTv),
sdcMan(sdcMan),