39 lines
1.4 KiB
C++
39 lines
1.4 KiB
C++
#ifndef BSP_Q7S_OBJECTFACTORY_H_
|
|
#define BSP_Q7S_OBJECTFACTORY_H_
|
|
|
|
class LinuxLibgpioIF;
|
|
class UartComIF;
|
|
class SpiComIF;
|
|
class I2cComIF;
|
|
class PowerSwitchIF;
|
|
class HealthTableIF;
|
|
class AcsBoardAssembly;
|
|
|
|
namespace ObjectFactory {
|
|
|
|
void setStatics();
|
|
void produce(void* args);
|
|
|
|
void createCommunicationInterfaces(LinuxLibgpioIF** gpioComIF, UartComIF** uartComIF,
|
|
SpiComIF** spiComIF, I2cComIF** i2cComIF);
|
|
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(PowerSwitchIF* pwrSwitcher, HealthTableIF* healthTable);
|
|
void createSolarArrayDeploymentComponents();
|
|
void createSyrlinksComponents(PowerSwitchIF* pwrSwitcher);
|
|
void createPayloadComponents(LinuxLibgpioIF* gpioComIF);
|
|
void createReactionWheelComponents(LinuxLibgpioIF* gpioComIF);
|
|
void createCcsdsComponents(LinuxLibgpioIF* gpioComIF);
|
|
void createTestComponents(LinuxLibgpioIF* gpioComIF);
|
|
|
|
void testAcsBrdAss(AcsBoardAssembly* assAss);
|
|
|
|
}; // namespace ObjectFactory
|
|
|
|
#endif /* BSP_Q7S_OBJECTFACTORY_H_ */
|