Files
fsfw/src/fsfw/datapoollocal/AccessLocalPoolF.h
T

27 lines
671 B
C++
Raw Normal View History

2021-01-13 11:53:34 +01:00
#ifndef FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
#define FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
class LocalDataPoolManager;
class MutexIF;
/**
* @brief Accessor class which can be used by classes which like to use the pool manager.
*/
class AccessPoolManagerIF {
2022-02-02 10:29:30 +01:00
public:
virtual ~AccessPoolManagerIF(){};
2021-01-13 11:53:34 +01:00
2022-02-02 10:29:30 +01:00
virtual MutexIF* getLocalPoolMutex() = 0;
2021-01-13 11:53:34 +01:00
2022-02-02 10:29:30 +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* getPoolManagerHandle() = 0;
2021-01-13 11:53:34 +01:00
2022-02-02 10:29:30 +01:00
protected:
2021-01-13 11:53:34 +01:00
};
#endif /* FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_ */