using const char* instead
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
8ee6a23229
commit
9cea0c50c3
@ -10,7 +10,7 @@
|
||||
|
||||
using namespace returnvalue;
|
||||
|
||||
TmStore::TmStore(object_id_t objectId, std::string baseDir, std::string baseName,
|
||||
TmStore::TmStore(object_id_t objectId, const char* baseDir, std::string baseName,
|
||||
RolloverInterval intervalUnit, uint32_t intervalCount, timeval& currentTv, SdCardMountedIF& sdcMan)
|
||||
: SystemObject(objectId), baseDir(std::move(baseDir)), baseName(std::move(baseName)), currentTv(currentTv), sdcMan(sdcMan) {
|
||||
calcDiffSeconds(intervalUnit, intervalCount);
|
||||
|
@ -19,7 +19,7 @@ enum class RolloverInterval { MINUTELY, HOURLY, DAILY };
|
||||
|
||||
class TmStore : public SystemObject {
|
||||
public:
|
||||
TmStore(object_id_t objectId, std::string baseDir, std::string baseName, RolloverInterval intervalUnit,
|
||||
TmStore(object_id_t objectId, const char* baseDir, std::string baseName, RolloverInterval intervalUnit,
|
||||
uint32_t intervalCount, timeval& currentTv, SdCardMountedIF& sdcMan);
|
||||
|
||||
void addApid(uint16_t apid);
|
||||
@ -39,7 +39,7 @@ class TmStore : public SystemObject {
|
||||
MessageQueueId_t getCommandQueue();
|
||||
PacketFilter filter;
|
||||
bool baseDirUninitialized = true;
|
||||
std::string baseDir;
|
||||
const char* baseDir;
|
||||
std::string baseName;
|
||||
std::filesystem::path basePath;
|
||||
uint32_t rolloverDiffSeconds = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user