2021-01-11 22:45:04 +01:00
|
|
|
#ifndef FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
|
|
|
|
#define FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
|
|
|
|
|
2021-01-12 14:08:51 +01:00
|
|
|
//#include "LocalDataPoolManager.h"
|
2021-01-12 00:13:49 +01:00
|
|
|
#include <fsfw/ipc/MutexIF.h>
|
2021-01-11 22:45:04 +01:00
|
|
|
|
2021-01-12 14:08:51 +01:00
|
|
|
class LocalDataPoolManager;
|
|
|
|
|
|
|
|
class AccessPoolManagerIF {
|
2021-01-11 22:45:04 +01:00
|
|
|
public:
|
2021-01-12 14:08:51 +01:00
|
|
|
virtual ~AccessPoolManagerIF() {};
|
|
|
|
|
|
|
|
virtual MutexIF* getLocalPoolMutex() = 0;
|
2021-01-12 00:13:49 +01:00
|
|
|
|
2021-01-12 14:08:51 +01:00
|
|
|
/**
|
|
|
|
* Can be used to get a handle to the local data pool manager.
|
|
|
|
* This function is protected because it should only be used by the
|
|
|
|
* class imlementing the interface.
|
|
|
|
*/
|
|
|
|
virtual LocalDataPoolManager* getHkManagerHandle() = 0;
|
2021-01-11 22:45:04 +01:00
|
|
|
|
2021-01-12 00:13:49 +01:00
|
|
|
protected:
|
|
|
|
|
2021-01-11 22:45:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_ */
|