constructor TemperatureSensorInserter + temSensorDummies-map
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
parent
fdcd8e2800
commit
2b3fe93906
@ -22,5 +22,4 @@ target_sources(
|
|||||||
CoreControllerDummy.cpp
|
CoreControllerDummy.cpp
|
||||||
helpers.cpp
|
helpers.cpp
|
||||||
MgmRm3100Dummy.cpp
|
MgmRm3100Dummy.cpp
|
||||||
Tmp1075Dummy.cpp
|
Tmp1075Dummy.cpp)
|
||||||
DummyHeaterHandler.cpp)
|
|
||||||
|
@ -6,11 +6,9 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
TemperatureSensorInserter::TemperatureSensorInserter(
|
TemperatureSensorInserter::TemperatureSensorInserter(
|
||||||
object_id_t objectId, std::map<object_id_t, Max31865Dummy> tempSensorDummies_,
|
object_id_t objectId, const std::map<object_id_t, Max31865Dummy>& tempSensorDummies_,
|
||||||
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies_)
|
const std::map<object_id_t, Tmp1075Dummy>& tempTmpSensorDummies_)
|
||||||
: SystemObject(objects::THERMAL_TEMP_INSERTER),
|
: SystemObject(objects::THERMAL_TEMP_INSERTER) {}
|
||||||
tempSensorDummies(tempSensorDummies_),
|
|
||||||
tempTmpSensorDummies(tempTmpSensorDummies_) {}
|
|
||||||
|
|
||||||
ReturnValue_t TemperatureSensorInserter::initialize() {
|
ReturnValue_t TemperatureSensorInserter::initialize() {
|
||||||
if (performTest) {
|
if (performTest) {
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
|
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
|
||||||
public:
|
public:
|
||||||
explicit TemperatureSensorInserter(object_id_t objectId,
|
explicit TemperatureSensorInserter(
|
||||||
std::map<object_id_t, Max31865Dummy> tempSensorDummies_,
|
object_id_t objectId, const std::map<object_id_t, Max31865Dummy>& tempSensorDummies_,
|
||||||
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies_);
|
const std::map<object_id_t, Tmp1075Dummy>& tempTmpSensorDummies_);
|
||||||
|
|
||||||
ReturnValue_t initialize() override;
|
ReturnValue_t initialize() override;
|
||||||
|
|
||||||
@ -24,8 +24,5 @@ class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject
|
|||||||
float value = 0;
|
float value = 0;
|
||||||
TestCase testCase;
|
TestCase testCase;
|
||||||
|
|
||||||
std::map<object_id_t, Max31865Dummy> tempSensorDummies;
|
|
||||||
std::map<object_id_t, Tmp1075Dummy> tempTmpSensorDummies;
|
|
||||||
|
|
||||||
// void noise();
|
// void noise();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user