fsfw/datapoollocal/LocalDataSet.cpp

23 lines
707 B
C++
Raw Normal View History

2020-10-01 12:05:24 +02:00
#include "LocalDataSet.h"
#include "../datapoollocal/LocalDataPoolManager.h"
#include "../serialize/SerializeAdapter.h"
#include <cmath>
#include <cstring>
LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner, uint32_t setId,
const size_t maxNumberOfVariables):
LocalPoolDataSetBase(hkOwner, setId, nullptr, maxNumberOfVariables),
poolVarList(maxNumberOfVariables) {
2021-01-13 12:41:24 +01:00
this->setContainer(poolVarList.data());
2020-10-01 12:05:24 +02:00
}
LocalDataSet::LocalDataSet(sid_t sid, const size_t maxNumberOfVariables):
LocalPoolDataSetBase(sid, nullptr, maxNumberOfVariables),
2021-01-13 12:41:24 +01:00
poolVarList(maxNumberOfVariables) {
this->setContainer(poolVarList.data());
2020-10-01 12:05:24 +02:00
}
LocalDataSet::~LocalDataSet() {}