getter function
This commit is contained in:
parent
d251d7ed02
commit
b2177b2363
@ -76,6 +76,8 @@ class PoolVariable : public PoolObjectBase {
|
||||
|
||||
virtual ~PoolVariable() {};
|
||||
|
||||
T get() const;
|
||||
|
||||
/**
|
||||
* @brief This is the local copy of the data pool entry.
|
||||
* @details The user can work on this attribute
|
||||
@ -258,6 +260,10 @@ ReturnValue_t PoolVariable<T>::deSerialize(const uint8_t** buffer, size_t* size,
|
||||
SerializeIF::Endianness streamEndianness) {
|
||||
return SerializeAdapter::deSerialize(&value, buffer, size, streamEndianness);
|
||||
}
|
||||
template <typename T>
|
||||
T PoolVariable<T>::get() const {
|
||||
return value;
|
||||
}
|
||||
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user