2020-11-20 18:10:39 +01:00
|
|
|
#ifndef MISSION_CORE_GENERICFACTORY_H_
|
|
|
|
#define MISSION_CORE_GENERICFACTORY_H_
|
|
|
|
|
2022-11-24 19:41:57 +01:00
|
|
|
#include "fsfw/power/PowerSwitchIF.h"
|
2022-11-25 10:13:24 +01:00
|
|
|
#include "fsfw_hal/common/gpio/GpioIF.h"
|
2022-11-24 19:41:57 +01:00
|
|
|
|
|
|
|
class HeaterHandler;
|
2022-05-02 17:37:00 +02:00
|
|
|
class HealthTableIF;
|
2022-11-02 10:26:45 +01:00
|
|
|
class PusTmFunnel;
|
|
|
|
class CfdpTmFunnel;
|
2022-05-02 17:37:00 +02:00
|
|
|
|
2020-11-20 18:10:39 +01:00
|
|
|
namespace ObjectFactory {
|
|
|
|
|
2022-11-02 10:26:45 +01:00
|
|
|
void produceGenericObjects(HealthTableIF** healthTable, PusTmFunnel** pusFunnel,
|
|
|
|
CfdpTmFunnel** cfdpFunnel);
|
2022-11-25 10:13:24 +01:00
|
|
|
void createGenericHeaterComponents(GpioIF& gpioIF, PowerSwitchIF& pwrSwitcher,
|
|
|
|
HeaterHandler*& heaterHandler);
|
2020-11-20 18:10:39 +01:00
|
|
|
|
2022-11-24 19:41:57 +01:00
|
|
|
void createThermalController(HeaterHandler& heaterHandler);
|
2022-11-25 10:13:24 +01:00
|
|
|
} // namespace ObjectFactory
|
2020-11-20 18:10:39 +01:00
|
|
|
|
|
|
|
#endif /* MISSION_CORE_GENERICFACTORY_H_ */
|