2020-09-06 15:23:38 +02:00
|
|
|
#ifndef FRAMEWORK_DATAPOOL_SHAREDDATASETIF_H_
|
|
|
|
#define FRAMEWORK_DATAPOOL_SHAREDDATASETIF_H_
|
2021-03-11 00:18:17 +01:00
|
|
|
|
2020-09-06 15:23:38 +02:00
|
|
|
#include "PoolDataSetIF.h"
|
|
|
|
|
2021-03-11 01:04:39 +01:00
|
|
|
class SharedDataSetIF {
|
2020-09-06 15:23:38 +02:00
|
|
|
public:
|
|
|
|
virtual ~SharedDataSetIF() {};
|
|
|
|
|
|
|
|
private:
|
2021-03-11 00:18:17 +01:00
|
|
|
virtual ReturnValue_t lockDataset(MutexIF::TimeoutType timeoutType,
|
|
|
|
dur_millis_t mutexTimeout) = 0;
|
2020-09-06 15:23:38 +02:00
|
|
|
virtual ReturnValue_t unlockDataset() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FRAMEWORK_DATAPOOL_SHAREDDATASETIF_H_ */
|