fsfw/datapoollocal/LocalDataSet.cpp

22 lines
687 B
C++
Raw Normal View History

#include "LocalDataSet.h"
#include "../datapoollocal/LocalDataPoolManager.h"
#include "../serialize/SerializeAdapter.h"
2020-05-17 01:17:11 +02:00
2020-06-19 03:03:17 +02:00
#include <cmath>
#include <cstring>
2020-08-23 22:33:22 +02:00
LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner, uint32_t setId,
const size_t maxNumberOfVariables): poolVarList(maxNumberOfVariables),
LocalPoolDataSetBase(hkOwner, setId, nullptr, maxNumberOfVariables) {
this->setContainer(poolVarList.data());
2020-05-17 01:17:11 +02:00
}
2020-08-23 22:33:22 +02:00
LocalDataSet::LocalDataSet(sid_t sid, const size_t maxNumberOfVariables):
LocalPoolDataSetBase(sid, nullptr, maxNumberOfVariables),
poolVarList(maxNumberOfVariables) {
this->setContainer(poolVarList.data());
2020-05-17 01:17:11 +02:00
}
2020-08-08 12:49:20 +02:00
LocalDataSet::~LocalDataSet() {}