Files
fsfw/datapoollocal/AccessLocalPoolF.h
T

27 lines
687 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 {
public:
2021-01-13 12:41:24 +01:00
virtual ~AccessPoolManagerIF() {};
2021-01-13 11:53:34 +01:00
2021-01-13 12:41:24 +01:00
virtual MutexIF* getLocalPoolMutex() = 0;
2021-01-13 11:53:34 +01:00
2021-01-13 12:41:24 +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.
*/
2021-01-25 13:09:39 +01:00
virtual LocalDataPoolManager* getPoolManagerHandle() = 0;
2021-01-13 11:53:34 +01:00
protected:
};
#endif /* FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_ */