Robin Mueller
91b69eacf6
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
- refactored and simplified RW assemblies - create separate SPI Com IF for RWs - Update .cproject file: Fixed to decrease indexer parsing times
48 lines
1.6 KiB
C++
48 lines
1.6 KiB
C++
#ifndef BSP_Q7S_OBJECTFACTORY_H_
|
|
#define BSP_Q7S_OBJECTFACTORY_H_
|
|
|
|
#include <fsfw/returnvalues/HasReturnvaluesIF.h>
|
|
|
|
#include <string>
|
|
|
|
class LinuxLibgpioIF;
|
|
class UartComIF;
|
|
class SpiComIF;
|
|
class I2cComIF;
|
|
class PowerSwitchIF;
|
|
class AcsBoardAssembly;
|
|
|
|
namespace ObjectFactory {
|
|
|
|
void setStatics();
|
|
void produce(void* args);
|
|
|
|
void createCommunicationInterfaces(LinuxLibgpioIF** gpioComIF, UartComIF** uartComIF,
|
|
SpiComIF** spiMainComIF, I2cComIF** i2cComIF,
|
|
SpiComIF** spiRwComIF);
|
|
void createPcduComponents(LinuxLibgpioIF* gpioComIF, PowerSwitchIF** pwrSwitcher);
|
|
void createPlPcduComponents(LinuxLibgpioIF* gpioComIF, SpiComIF* spiComIF,
|
|
PowerSwitchIF* pwrSwitcher);
|
|
void createTmpComponents();
|
|
void createRadSensorComponent(LinuxLibgpioIF* gpioComIF);
|
|
void createAcsBoardComponents(LinuxLibgpioIF* gpioComIF, UartComIF* uartComIF,
|
|
PowerSwitchIF* pwrSwitcher);
|
|
void createHeaterComponents();
|
|
void createImtqComponents(PowerSwitchIF* pwrSwitcher);
|
|
void createBpxBatteryComponent();
|
|
void createStrComponents(PowerSwitchIF* pwrSwitcher);
|
|
void createSolarArrayDeploymentComponents();
|
|
void createSyrlinksComponents(PowerSwitchIF* pwrSwitcher);
|
|
void createPayloadComponents(LinuxLibgpioIF* gpioComIF);
|
|
void createReactionWheelComponents(LinuxLibgpioIF* gpioComIF, PowerSwitchIF* pwrSwitcher);
|
|
void createCcsdsComponents(LinuxLibgpioIF* gpioComIF);
|
|
void createMiscComponents();
|
|
|
|
void createTestComponents(LinuxLibgpioIF* gpioComIF);
|
|
|
|
void testAcsBrdAss(AcsBoardAssembly* assAss);
|
|
|
|
}; // namespace ObjectFactory
|
|
|
|
#endif /* BSP_Q7S_OBJECTFACTORY_H_ */
|