improvements
This commit is contained in:
parent
767850e125
commit
355bc2b905
@ -32,7 +32,7 @@ class GlobPoolVar: public PoolVariableIF {
|
|||||||
template<typename U, uint8_t n_var> friend class PoolVarList;
|
template<typename U, uint8_t n_var> friend class PoolVarList;
|
||||||
static_assert(not std::is_same<T, bool>::value,
|
static_assert(not std::is_same<T, bool>::value,
|
||||||
"Do not use boolean for the PoolEntry type, use uint8_t instead!"
|
"Do not use boolean for the PoolEntry type, use uint8_t instead!"
|
||||||
"Warum? Darum :-)");
|
"There is no boolean type in CCSDS.");
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief In the constructor, the variable can register itself in a
|
* @brief In the constructor, the variable can register itself in a
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#pragma once
|
#ifndef FRAMEWORK_DATAPOOLLOCAL_LOCALPOOLVARIABLE_H_
|
||||||
|
#define FRAMEWORK_DATAPOOLLOCAL_LOCALPOOLVARIABLE_H_
|
||||||
|
|
||||||
#include <framework/datapool/PoolVariableIF.h>
|
#include <framework/datapool/PoolVariableIF.h>
|
||||||
#include <framework/datapool/DataSetIF.h>
|
#include <framework/datapool/DataSetIF.h>
|
||||||
@ -100,4 +101,4 @@ using lp_int64_t = LocalPoolVar<int64_t>;
|
|||||||
using lp_float_t = LocalPoolVar<float>;
|
using lp_float_t = LocalPoolVar<float>;
|
||||||
using lp_double_t = LocalPoolVar<double>;
|
using lp_double_t = LocalPoolVar<double>;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#pragma once
|
#ifndef FRAMEWORK_DATAPOOLLOCAL_LOCALPOOLVARIABLE_TPP_
|
||||||
|
#define FRAMEWORK_DATAPOOLLOCAL_LOCALPOOLVARIABLE_TPP_
|
||||||
|
|
||||||
#include <framework/housekeeping/HasHkPoolParametersIF.h>
|
#include <framework/housekeeping/HasHkPoolParametersIF.h>
|
||||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
#include <framework/objectmanager/ObjectManagerIF.h>
|
||||||
@ -107,3 +108,5 @@ inline ReturnValue_t LocalPoolVar<T>::deSerialize(const uint8_t** buffer,
|
|||||||
size_t* size, bool bigEndian) {
|
size_t* size, bool bigEndian) {
|
||||||
return AutoSerializeAdapter::deSerialize(&value, buffer, size, bigEndian);
|
return AutoSerializeAdapter::deSerialize(&value, buffer, size, bigEndian);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
#include <framework/returnvalues/HasReturnvaluesIF.h>
|
#include <framework/returnvalues/HasReturnvaluesIF.h>
|
||||||
#include <framework/serialize/SerializeIF.h>
|
#include <framework/serialize/SerializeIF.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Type definition for CCSDS or ECSS.
|
||||||
|
*/
|
||||||
class Type: public SerializeIF {
|
class Type: public SerializeIF {
|
||||||
public:
|
public:
|
||||||
enum ActualType_t {
|
enum ActualType_t {
|
||||||
|
@ -13,8 +13,7 @@ using LocalDataPoolMap = std::map<lp_id_t, PoolEntryIF*>;
|
|||||||
using LocalDataPoolMapIter = LocalDataPoolMap::iterator;
|
using LocalDataPoolMapIter = LocalDataPoolMap::iterator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Interface for the local housekeeping managers used by the device
|
* @brief
|
||||||
* handler.
|
|
||||||
*/
|
*/
|
||||||
class HasHkPoolParametersIF {
|
class HasHkPoolParametersIF {
|
||||||
public:
|
public:
|
||||||
@ -27,6 +26,4 @@ public:
|
|||||||
virtual HousekeepingManager* getHkManagerHandle() = 0;
|
virtual HousekeepingManager* getHkManagerHandle() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* FRAMEWORK_DATAPOOL_HASHKPOOLPARAMETERSIF_H_ */
|
#endif /* FRAMEWORK_DATAPOOL_HASHKPOOLPARAMETERSIF_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user