1
0
forked from fsfw/fsfw

added new setter function

This commit is contained in:
2020-09-10 21:05:50 +02:00
parent 2d2d0de35c
commit 71125c075a
2 changed files with 16 additions and 1 deletions

View File

@@ -190,4 +190,11 @@ bool LocalPoolDataSetBase::isValid() const {
return this->valid;
}
void LocalPoolDataSetBase::setValidity(bool valid, bool setEntriesRecursively) {
if(setEntriesRecursively) {
for(size_t idx = 0; idx < this->getFillCount(); idx++) {
registeredVariables[idx] -> setValid(valid);
}
}
this->valid = valid;
}