indentation
This commit is contained in:
parent
58d813c249
commit
fa5580cb7f
17
datapoollocal/AccessLocalPoolF.h
Normal file
17
datapoollocal/AccessLocalPoolF.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
|
||||
#define FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_
|
||||
|
||||
#include <fsfw/datapool/PoolEntry.h>
|
||||
#include <fsfw/datapoollocal/locPoolDefinitions.h>
|
||||
|
||||
template <typename T>
|
||||
class AccessLocalPoolIF {
|
||||
public:
|
||||
virtual~ AccessLocalPoolIF() {};
|
||||
|
||||
virtual ReturnValue_t fetchPoolEntry(lp_id_t localPoolId, PoolEntry<T> **poolEntry) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* FSFW_DATAPOOLLOCAL_ACCESSLOCALPOOLF_H_ */
|
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,7 @@
|
||||
#include "LocalPoolObjectBase.h"
|
||||
#include "HasLocalDataPoolIF.h"
|
||||
#include "LocalDataPoolManager.h"
|
||||
#include "AccessLocalPoolF.h"
|
||||
|
||||
#include "../datapool/PoolVariableIF.h"
|
||||
#include "../datapool/DataSetIF.h"
|
||||
@ -23,7 +24,7 @@
|
||||
* @ingroup data_pool
|
||||
*/
|
||||
template<typename T>
|
||||
class LocalPoolVariable: public LocalPoolObjectBase {
|
||||
class LocalPoolVariable: public LocalPoolObjectBase, public AccessLocalPoolIF<T> {
|
||||
public:
|
||||
//! Default ctor is forbidden.
|
||||
LocalPoolVariable() = delete;
|
||||
|
Loading…
x
Reference in New Issue
Block a user