diff --git a/src/fsfw/datapool/LocalPoolObjectBase.cpp b/src/fsfw/datapool/LocalPoolObjectBase.cpp index aced7c23..e035a6cc 100644 --- a/src/fsfw/datapool/LocalPoolObjectBase.cpp +++ b/src/fsfw/datapool/LocalPoolObjectBase.cpp @@ -79,9 +79,9 @@ void PoolObjectBase::reportReadCommitError(const char* variableType, ReturnValue } const char* errMsg = nullptr; - if (error == localpool::POOL_ENTRY_NOT_FOUND) { + if (error == POOL_ENTRY_NOT_FOUND) { errMsg = "Pool entry not found"; - } else if (error == localpool::POOL_ENTRY_TYPE_CONFLICT) { + } else if (error == POOL_ENTRY_TYPE_CONFLICT) { errMsg = "Pool entry type conflict"; } else if (error == PoolVariableIF::INVALID_READ_WRITE_MODE) { errMsg = "Pool variable wrong read-write mode"; diff --git a/src/fsfw/datapool/LocalPoolVector.h b/src/fsfw/datapool/LocalPoolVector.h index c2d84a13..aed1731c 100644 --- a/src/fsfw/datapool/LocalPoolVector.h +++ b/src/fsfw/datapool/LocalPoolVector.h @@ -1,12 +1,12 @@ #pragma once #include -#include #include "LocalPoolObjectBase.h" #include "fsfw/datapool/DataSetIF.h" #include "fsfw/datapool/PoolEntry.h" #include "fsfw/datapool/PoolVariableIF.h" +#include "fsfw/serialize/SerializeAdapter.h" #include "fsfw/serviceinterface/ServiceInterface.h" namespace datapool { diff --git a/src/fsfw/housekeeping/PeriodicHkHelper.cpp b/src/fsfw/housekeeping/PeriodicHkHelper.cpp index edd4d140..b87b5971 100644 --- a/src/fsfw/housekeeping/PeriodicHkHelper.cpp +++ b/src/fsfw/housekeeping/PeriodicHkHelper.cpp @@ -1,6 +1,7 @@ #include "PeriodicHkHelper.h" #include +#include #include #include "fsfw/housekeeping/AcceptsHkPacketsIF.h" diff --git a/src/fsfw/housekeeping/definitions.h b/src/fsfw/housekeeping/definitions.h index ad058299..d832f9cf 100644 --- a/src/fsfw/housekeeping/definitions.h +++ b/src/fsfw/housekeeping/definitions.h @@ -1,11 +1,11 @@ #pragma once -#include #include #include #include #include +#include #include "fsfw/datapool/definitions.h" diff --git a/src/fsfw_tests/integration/devices/devicedefinitions/testDeviceDefinitions.h b/src/fsfw_tests/integration/devices/devicedefinitions/testDeviceDefinitions.h index b03cbd07..1984a276 100644 --- a/src/fsfw_tests/integration/devices/devicedefinitions/testDeviceDefinitions.h +++ b/src/fsfw_tests/integration/devices/devicedefinitions/testDeviceDefinitions.h @@ -1,7 +1,7 @@ #ifndef MISSION_DEVICES_DEVICEDEFINITIONS_TESTDEVICEDEFINITIONS_H_ #define MISSION_DEVICES_DEVICEDEFINITIONS_TESTDEVICEDEFINITIONS_H_ -#include +#include #include namespace testdevice { @@ -67,21 +67,21 @@ static constexpr size_t TEST_COMMAND_0_SIZE = sizeof(TEST_COMMAND_0); static constexpr size_t TEST_COMMAND_1_SIZE = sizeof(TEST_COMMAND_1) + sizeof(COMMAND_1_PARAM1) + sizeof(COMMAND_1_PARAM2); -enum PoolIds : lp_id_t { TEST_UINT8_ID = 0, TEST_UINT32_ID = 1, TEST_FLOAT_VEC_3_ID = 2 }; +enum PoolIds : dp::id_t { TEST_UINT8_ID = 0, TEST_UINT32_ID = 1, TEST_FLOAT_VEC_3_ID = 2 }; static constexpr uint8_t TEST_SET_ID = TEST_NORMAL_MODE_CMD; -class TestDataSet : public StaticLocalDataSet<3> { +class TestDataSet : public dp::StaticSharedSet<3> { public: - TestDataSet(localpool::SharedPool& owner) : StaticLocalDataSet(owner, TEST_SET_ID) {} - TestDataSet(object_id_t owner) : StaticLocalDataSet(sid_t(owner, TEST_SET_ID)) {} + TestDataSet(dp::SharedPool& owner) : StaticSharedSet(owner, TEST_SET_ID) {} + TestDataSet(object_id_t owner) : StaticSharedSet(dp::sid_t(owner, TEST_SET_ID)) {} - lp_var_t testUint8Var = - lp_var_t(gp_id_t(this->getCreatorObjectId(), PoolIds::TEST_UINT8_ID), this); - lp_var_t testUint32Var = - lp_var_t(gp_id_t(this->getCreatorObjectId(), PoolIds::TEST_UINT32_ID), this); - lp_vec_t testFloat3Vec = - lp_vec_t(gp_id_t(this->getCreatorObjectId(), PoolIds::TEST_FLOAT_VEC_3_ID), this); + dp::var_t testUint8Var = + dp::var_t(dp::g_id_t(this->getCreatorObjectId(), PoolIds::TEST_UINT8_ID), this); + dp::var_t testUint32Var = + dp::var_t(dp::g_id_t(this->getCreatorObjectId(), PoolIds::TEST_UINT32_ID), this); + dp::vec_t testFloat3Vec = dp::vec_t( + dp::g_id_t(this->getCreatorObjectId(), PoolIds::TEST_FLOAT_VEC_3_ID), this); }; } // namespace testdevice