fsfw/src/fsfw/datapoollocal/LocalDataSet.h

38 lines
1.2 KiB
C
Raw Normal View History

2020-10-01 12:05:24 +02:00
#ifndef FSFW_DATAPOOLLOCAL_LOCALDATASET_H_
#define FSFW_DATAPOOLLOCAL_LOCALDATASET_H_
#include <vector>
2022-02-02 10:29:30 +01:00
#include "LocalPoolDataSetBase.h"
2021-01-25 00:55:27 +01:00
/**
* @brief This dataset type can be used to group related pool variables if the number of
* variables should not be fixed.
* @details
* This will is the primary data structure to organize pool variables into
* sets which can be accessed via the housekeeping service interface or
* which can be sent to other software objects.
*
* It is recommended to read the documentation of the LocalPoolDataSetBase
* class for more information on how this class works and how to use it.
* @tparam capacity Capacity of the static dataset, which is usually known
* beforehand.
*/
2022-02-02 10:29:30 +01:00
class LocalDataSet : public LocalPoolDataSetBase {
public:
LocalDataSet(HasLocalDataPoolIF* hkOwner, uint32_t setId, const size_t maxSize);
LocalDataSet(sid_t sid, const size_t maxSize);
2021-01-25 00:55:27 +01:00
2022-02-02 10:29:30 +01:00
virtual ~LocalDataSet();
2021-01-25 00:55:27 +01:00
2022-02-02 10:29:30 +01:00
//! Copying forbidden for now.
LocalDataSet(const LocalDataSet&) = delete;
LocalDataSet& operator=(const LocalDataSet&) = delete;
2020-10-01 12:05:24 +02:00
2022-02-02 10:29:30 +01:00
private:
std::vector<PoolVariableIF*> poolVarList;
2020-10-01 12:05:24 +02:00
};
#endif /* FSFW_DATAPOOLLOCAL_LOCALDATASET_H_ */