eive-obsw/linux/ObjectFactory.h
Robin Mueller 382d93863f
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
create and pass correct comIF
2022-05-12 12:21:47 +02:00

21 lines
539 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,
SpiComIF* comIF);
void gpioChecker(ReturnValue_t result, std::string output);
} // namespace ObjectFactory