eive-obsw/linux/ObjectFactory.h
Robin Mueller 0b64999ce2
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
added generic GPIO checker
2022-04-28 18:38:38 +02:00

20 lines
497 B
C++

#pragma once
#include <fsfw/returnvalues/HasReturnvaluesIF.h>
#include <string>
class GpioIF;
class SpiComIF;
class PowerSwitchIF;
namespace ObjectFactory {
void createSunSensorComponents(GpioIF* gpioComIF, SpiComIF* spiComIF, PowerSwitchIF* pwrSwitcher,
std::string spiDev);
void createRtdComponents(std::string spiDev, GpioIF* gpioComIF, PowerSwitchIF* pwrSwitcher);
void gpioChecker(ReturnValue_t result, std::string output);
} // namespace ObjectFactory