merging renaming into main branch
This commit is contained in:
32
housekeeping/HasHkPoolParametersIF.h
Normal file
32
housekeeping/HasHkPoolParametersIF.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifndef FRAMEWORK_DATAPOOL_HASHKPOOLPARAMETERSIF_H_
|
||||
#define FRAMEWORK_DATAPOOL_HASHKPOOLPARAMETERSIF_H_
|
||||
#include <framework/datapool/PoolEntryIF.h>
|
||||
#include <framework/ipc/MessageQueueSenderIF.h>
|
||||
#include <map>
|
||||
|
||||
class HousekeepingManager;
|
||||
/**
|
||||
* @brief Type definition for local pool entries.
|
||||
*/
|
||||
using lp_id_t = uint32_t;
|
||||
using LocalDataPoolMap = std::map<lp_id_t, PoolEntryIF*>;
|
||||
using LocalDataPoolMapIter = LocalDataPoolMap::iterator;
|
||||
|
||||
/**
|
||||
* @brief Interface for the local housekeeping managers used by the device
|
||||
* handler.
|
||||
*/
|
||||
class HasHkPoolParametersIF {
|
||||
public:
|
||||
virtual~ HasHkPoolParametersIF() {};
|
||||
|
||||
virtual MessageQueueId_t getCommandQueue() const = 0;
|
||||
virtual ReturnValue_t initializeHousekeepingPoolEntries(
|
||||
LocalDataPoolMap& localDataPoolMap) = 0;
|
||||
virtual float setMinimalHkSamplingFrequency() = 0;
|
||||
virtual HousekeepingManager* getHkManagerHandle() = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* FRAMEWORK_DATAPOOL_HASHKPOOLPARAMETERSIF_H_ */
|
Reference in New Issue
Block a user