2022-03-26 16:38:42 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-28 18:38:38 +02:00
|
|
|
#include <fsfw/returnvalues/HasReturnvaluesIF.h>
|
|
|
|
|
2022-03-26 16:38:42 +01:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class GpioIF;
|
|
|
|
class SpiComIF;
|
|
|
|
class PowerSwitchIF;
|
|
|
|
|
|
|
|
namespace ObjectFactory {
|
|
|
|
|
|
|
|
void createSunSensorComponents(GpioIF* gpioComIF, SpiComIF* spiComIF, PowerSwitchIF* pwrSwitcher,
|
|
|
|
std::string spiDev);
|
2022-05-12 12:21:47 +02:00
|
|
|
void createRtdComponents(std::string spiDev, GpioIF* gpioComIF, PowerSwitchIF* pwrSwitcher,
|
|
|
|
SpiComIF* comIF);
|
2022-03-26 16:38:42 +01:00
|
|
|
|
2022-04-28 18:38:38 +02:00
|
|
|
void gpioChecker(ReturnValue_t result, std::string output);
|
|
|
|
|
2022-03-31 17:58:16 +02:00
|
|
|
} // namespace ObjectFactory
|