fsfw/datapoollocal/AccessLocalPoolF.h

32 lines
793 B
C
Raw Normal View History

2021-01-11 22:45:04 +01:00
#ifndef FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
#define FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
#include <fsfw/datapoollocal/locPoolDefinitions.h>
2021-01-12 00:13:49 +01:00
#include <fsfw/datapool/PoolEntry.h>
#include <fsfw/datapoollocal/HasLocalDataPoolIF.h>
#include <fsfw/ipc/MutexIF.h>
2021-01-11 22:45:04 +01:00
class AccessLocalPoolIF {
public:
2021-01-12 00:13:49 +01:00
virtual ~AccessLocalPoolIF() {};
virtual ReturnValue_t retrieveLocalPoolMutex(MutexIF* mutex) = 0;
virtual object_id_t getCreatorObjectId() const = 0;
2021-01-11 22:45:04 +01:00
2021-01-12 00:13:49 +01:00
protected:
//virtual LocalDataPoolManager* getHkManagerHandle() = 0;
2021-01-11 22:45:04 +01:00
};
2021-01-12 00:13:49 +01:00
//template <typename T>
//class AccessLocalPoolTypedIF {
//public:
// virtual ~AccessLocalPoolTypedIF() {};
//
// virtual ReturnValue_t fetchPoolEntry(lp_id_t localPoolId, PoolEntry<T> **poolEntry) = 0;
//};
2021-01-11 22:45:04 +01:00
#endif /* FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_ */