fsfw/datapoollocal/LocalDataSet.cpp

23 lines
695 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,
2020-08-24 22:08:27 +02:00
const size_t maxNumberOfVariables):
LocalPoolDataSetBase(hkOwner, setId, nullptr, maxNumberOfVariables),
poolVarList(maxNumberOfVariables) {
2020-08-23 22:33:22 +02:00
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() {}