30 lines
1.0 KiB
C++
30 lines
1.0 KiB
C++
#ifndef MISSION_CORE_GENERICFACTORY_H_
|
|
#define MISSION_CORE_GENERICFACTORY_H_
|
|
|
|
#include <fsfw/devicehandlers/DeviceHandlerBase.h>
|
|
|
|
#include "fsfw/objectmanager/SystemObjectIF.h"
|
|
#include "fsfw/power/PowerSwitchIF.h"
|
|
#include "fsfw_hal/common/gpio/GpioIF.h"
|
|
|
|
class HeaterHandler;
|
|
class HealthTableIF;
|
|
class PusTmFunnel;
|
|
class CfdpTmFunnel;
|
|
|
|
namespace ObjectFactory {
|
|
|
|
void produceGenericObjects(HealthTableIF** healthTable, PusTmFunnel** pusFunnel,
|
|
CfdpTmFunnel** cfdpFunnel);
|
|
void createGenericHeaterComponents(GpioIF& gpioIF, PowerSwitchIF& pwrSwitcher,
|
|
HeaterHandler*& heaterHandler);
|
|
|
|
void createThermalController(HeaterHandler& heaterHandler);
|
|
void createRwAssy(PowerSwitchIF& pwrSwitcher, power::Switch_t theSwitch,
|
|
std::array<DeviceHandlerBase*, 4> rws, std::array<object_id_t, 4> rwIds);
|
|
void createSusAssy(PowerSwitchIF& pwrSwitcher, std::array<DeviceHandlerBase*, 12> suses);
|
|
|
|
} // namespace ObjectFactory
|
|
|
|
#endif /* MISSION_CORE_GENERICFACTORY_H_ */
|