This commit is contained in:
Robin Müller 2021-01-11 20:20:39 +01:00
parent 54e97f7bdc
commit 0bf0d8e743

View File

@ -40,6 +40,8 @@ using LocalDataPoolMapIter = LocalDataPool::iterator;
* of the LocalDataPoolManager. * of the LocalDataPoolManager.
*/ */
class HasLocalDataPoolIF { class HasLocalDataPoolIF {
friend class LocalPoolDataSetBase;
friend class LocalPoolObjectBase;
public: public:
virtual~ HasLocalDataPoolIF() {}; virtual~ HasLocalDataPoolIF() {};
@ -64,9 +66,6 @@ public:
LocalDataPool& localDataPoolMap, LocalDataPool& localDataPoolMap,
LocalDataPoolManager& poolManager) = 0; 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 * Returns the minimum sampling frequency in milliseconds, which will
* usually be the period the pool owner performs its periodic operation. * usually be the period the pool owner performs its periodic operation.
@ -140,6 +139,12 @@ public:
float newIntervalSeconds) { float newIntervalSeconds) {
return HasReturnvaluesIF::RETURN_FAILED; 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_ */ #endif /* FSFW_DATAPOOLLOCAL_HASLOCALDATAPOOLIF_H_ */