fsfw/src/fsfw/housekeeping/HousekeepingSet.cpp
Ulrich Mohr d766469f1e
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
working on HK and Dataset TM
2023-07-11 14:57:17 +02:00

19 lines
507 B
C++

#include "HousekeepingSet.h"
#include "GeneratesHousekeepingIF.h"
#ifdef FSFW_INTROSPECTION
HousekeepingSet::HousekeepingSet(GeneratesHousekeepingIF* owner, HousekeepingSetId_t id) {
owner->getHelper()->registerSet(this);
}
void HousekeepingSet::setEnum(EnumIF* theEnum) {
id = theEnum->getValue();
description = theEnum->getDescription();
}
#else
HousekeepingSet::HousekeepingSet(GeneratesHousekeepingIF* owner, HousekeepingSetId_t id) : id(id) {
owner->getHelper()->registerSet(this);
}
#endif