cotinued distir datapool

This commit is contained in:
2020-07-16 11:45:23 +02:00
parent e5ab7ada68
commit a0b8f8855c
8 changed files with 48 additions and 10 deletions

View File

@ -5,6 +5,13 @@
#include <framework/objectmanager/SystemObject.h>
#include <vector>
/**
* Baseline question: If this dataset is shared, is there once instance
* shared among many objects or multiple instances? Maybe be flexible
* and provide both ways? Sharing one instance requires a mutex lock.
* If there are multiple instances, it is not shared anymore, to be fair..
* Then a regular local data set is sufficient.
*/
class SharedLocalDataSet: public SystemObject,
public LocalDataSetBase,
public SharedDataSetIF {
@ -15,7 +22,6 @@ public:
ReturnValue_t unlockDataset() override;
private:
MutexIF* datasetLock = nullptr;
std::vector<PoolVariableIF*> poolVarVector;
};