eive-obsw/linux/ObjectFactory.h
Robin Mueller 66c6f08447
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
connect acs ctrl to subsystem
2022-09-30 14:30:30 +02:00

26 lines
694 B
C++

#pragma once
#include <fsfw/returnvalues/returnvalue.h>
#include <fsfw_hal/linux/gpio/LinuxLibgpioIF.h>
#include <string>
class GpioIF;
class SpiComIF;
class PowerSwitchIF;
class AcsController;
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);
void createThermalController();
AcsController* createAcsController(bool connectSubsystem);
} // namespace ObjectFactory