fsfw-example-common/example/core/GenericFactory.h

32 lines
835 B
C++

#ifndef MISSION_CORE_GENERICFACTORY_H_
#define MISSION_CORE_GENERICFACTORY_H_
#include "OBSWConfig.h"
#include <fsfw/objectmanager/SystemObjectIF.h>
#include "fsfw/cfdp/handler/DestHandler.h"
#include "fsfw/storagemanager/StorageManagerIF.h"
class TmFunnel;
class CcsdsDistributor;
#if OBSW_ADD_CFDP_COMPONENTS == 1
namespace cfdp {
extern PacketInfoListBase* PACKET_LIST_PTR;
extern LostSegmentsListBase* LOST_SEGMENTS_PTR;
} // namespace cfdp
#endif
namespace ObjectFactory {
/**
* @brief Produce hardware independant objects. Called by bsp specific
* object factory.
*/
void produceGenericObjects(TmFunnel** funnel, CcsdsDistributor** ccsdsDistributor,
StorageManagerIF& tcStore, StorageManagerIF& tmStore);
} // namespace ObjectFactory
#endif /* MISSION_CORE_GENERICFACTORY_H_ */