Irini Kosmidou
ad168f18b3
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include <fsfw/power/definitions.h>
|
|
#include <fsfw/returnvalues/returnvalue.h>
|
|
#include <fsfw_hal/linux/gpio/LinuxLibgpioIF.h>
|
|
#include <mission/memory/SdCardMountedIF.h>
|
|
#include <mission/tmtc/CcsdsIpCoreHandler.h>
|
|
#include <mission/tmtc/CfdpTmFunnel.h>
|
|
#include <mission/tmtc/PusTmFunnel.h>
|
|
|
|
#include <optional>
|
|
#include <string>
|
|
|
|
#include "mission/devices/HeaterHandler.h"
|
|
|
|
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 createScexComponents(std::string uartDev, PowerSwitchIF* pwrSwitcher,
|
|
SdCardMountedIF& mountedIF, bool onImmediately,
|
|
std::optional<power::Switch_t> switchId);
|
|
|
|
void gpioChecker(ReturnValue_t result, std::string output);
|
|
|
|
AcsController* createAcsController(bool connectSubsystem);
|
|
|
|
void addTmtcIpCoresToFunnels(CcsdsIpCoreHandler& ipCoreHandler, PusTmFunnel& pusFunnel,
|
|
CfdpTmFunnel& cfdpFunnel);
|
|
|
|
} // namespace ObjectFactory
|