constructor TemperatureSensorInserter + temSensorDummies-map
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Irini Kosmidou 2023-01-22 20:07:10 +01:00
parent fdcd8e2800
commit 2b3fe93906
3 changed files with 7 additions and 13 deletions

View File

@ -22,5 +22,4 @@ target_sources(
CoreControllerDummy.cpp
helpers.cpp
MgmRm3100Dummy.cpp
Tmp1075Dummy.cpp
DummyHeaterHandler.cpp)
Tmp1075Dummy.cpp)

View File

@ -6,11 +6,9 @@
#include <cstdlib>
TemperatureSensorInserter::TemperatureSensorInserter(
object_id_t objectId, std::map<object_id_t, Max31865Dummy> tempSensorDummies_,
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies_)
: SystemObject(objects::THERMAL_TEMP_INSERTER),
tempSensorDummies(tempSensorDummies_),
tempTmpSensorDummies(tempTmpSensorDummies_) {}
object_id_t objectId, const std::map<object_id_t, Max31865Dummy>& tempSensorDummies_,
const std::map<object_id_t, Tmp1075Dummy>& tempTmpSensorDummies_)
: SystemObject(objects::THERMAL_TEMP_INSERTER) {}
ReturnValue_t TemperatureSensorInserter::initialize() {
if (performTest) {

View File

@ -8,9 +8,9 @@
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
public:
explicit TemperatureSensorInserter(object_id_t objectId,
std::map<object_id_t, Max31865Dummy> tempSensorDummies_,
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies_);
explicit TemperatureSensorInserter(
object_id_t objectId, const std::map<object_id_t, Max31865Dummy>& tempSensorDummies_,
const std::map<object_id_t, Tmp1075Dummy>& tempTmpSensorDummies_);
ReturnValue_t initialize() override;
@ -24,8 +24,5 @@ class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject
float value = 0;
TestCase testCase;
std::map<object_id_t, Max31865Dummy> tempSensorDummies;
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies;
// void noise();
};