Ulrich Mohr
d766469f1e
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
19 lines
507 B
C++
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
|