diff --git a/datapoollocal/HasLocalDataPoolIF.h b/datapoollocal/HasLocalDataPoolIF.h index 07c6882b..55b98c45 100644 --- a/datapoollocal/HasLocalDataPoolIF.h +++ b/datapoollocal/HasLocalDataPoolIF.h @@ -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_ */