This commit is contained in:
Robin Müller 2021-01-11 20:20:39 +01:00
parent 54e97f7bdc
commit 0bf0d8e743
1 changed files with 8 additions and 3 deletions

View File

@ -40,6 +40,8 @@ using LocalDataPoolMapIter = LocalDataPool::iterator;
* of the LocalDataPoolManager.
*/
class HasLocalDataPoolIF {
friend class LocalPoolDataSetBase;
friend class LocalPoolObjectBase;
public:
virtual~ HasLocalDataPoolIF() {};
@ -64,9 +66,6 @@ public:
LocalDataPool& localDataPoolMap,
LocalDataPoolManager& poolManager) = 0;
/** Can be used to get a handle to the local data pool manager. */
virtual LocalDataPoolManager* getHkManagerHandle() = 0;
/**
* Returns the minimum sampling frequency in milliseconds, which will
* usually be the period the pool owner performs its periodic operation.
@ -140,6 +139,12 @@ public:
float newIntervalSeconds) {
return HasReturnvaluesIF::RETURN_FAILED;
};
virtual ProvidesDataPoolSubscriptionIF* getSubsciptionInterface() = 0;
protected:
/** Can be used to get a handle to the local data pool manager. */
virtual LocalDataPoolManager* getHkManagerHandle() = 0;
};
#endif /* FSFW_DATAPOOLLOCAL_HASLOCALDATAPOOLIF_H_ */