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
|
|
|
class LocalDataPoolManager;
|
2021-01-12 20:53:30 +01:00
|
|
|
class MutexIF;
|
2021-01-12 14:08:51 +01:00
|
|
|
|
2021-01-12 20:53:30 +01:00
|
|
|
/**
|
|
|
|
* @brief Accessor class which can be used by classes which like to use the pool manager.
|
|
|
|
*/
|
2021-01-12 14:08:51 +01:00
|
|
|
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_ */
|