29 lines
565 B
C++
29 lines
565 B
C++
#pragma once
|
|
|
|
#include "Dataset.h"
|
|
#include "HasDatapoolIF.h"
|
|
|
|
#include <fsfw/housekeeping/HousekeepingHelper.h>
|
|
|
|
#include <stdint.h>
|
|
#include <map>
|
|
|
|
class DatapoolHelper : public HousekeepingHelper {
|
|
public:
|
|
DatapoolHelper(HasDatapoolIF *owner);
|
|
~DatapoolHelper() = default;
|
|
|
|
const Dataset* getDataSet(HousekeepingSetId_t id);
|
|
|
|
const std::map<HousekeepingSetId_t, Dataset*>* getDatasets() const {
|
|
return &dataSets;
|
|
}
|
|
|
|
void registerSet(Dataset* set);
|
|
|
|
ReturnValue_t initialize();
|
|
|
|
private:
|
|
std::map<HousekeepingSetId_t, Dataset*> dataSets;
|
|
};
|