eive-obsw/linux/ObjectFactory.h
Robin Mueller 1276cc2dc6
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
scex additions
2022-05-26 12:04:27 +02:00

23 lines
616 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 createScexComponents(std::string uartDev, PowerSwitchIF* pwrSwitcher);
void gpioChecker(ReturnValue_t result, std::string output);
} // namespace ObjectFactory