add CFDP_DISTRIB and CFDP_HANDLER obj IDs
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
#include "objects/systemObjectList.h"
|
||||
#include "tmtc/apid.h"
|
||||
|
||||
void ObjectFactory::produceGenericObjects() {
|
||||
void ObjectFactory::produceGenericObjects(TmFunnel **tmFunnel) {
|
||||
#if OBSW_ADD_CORE_COMPONENTS == 1
|
||||
/* Framework objects */
|
||||
new EventManager(objects::EVENT_MANAGER);
|
||||
@ -44,7 +44,7 @@ void ObjectFactory::produceGenericObjects() {
|
||||
new VerificationReporter();
|
||||
auto *ccsdsDistrib = new CcsdsDistributor(apid::APID, objects::CCSDS_DISTRIBUTOR);
|
||||
new PusDistributor(apid::APID, objects::PUS_DISTRIBUTOR, ccsdsDistrib);
|
||||
new TmFunnel(*stamperAndReader, objects::TM_FUNNEL);
|
||||
*tmFunnel = new TmFunnel(*stamperAndReader, objects::TM_FUNNEL);
|
||||
#endif /* OBSW_ADD_CORE_COMPONENTS == 1 */
|
||||
|
||||
/* PUS stack */
|
||||
|
@ -3,13 +3,15 @@
|
||||
|
||||
#include <fsfw/objectmanager/SystemObjectIF.h>
|
||||
|
||||
class TmFunnel;
|
||||
|
||||
namespace ObjectFactory {
|
||||
|
||||
/**
|
||||
* @brief Produce hardware independant objects. Called by bsp specific
|
||||
* object factory.
|
||||
*/
|
||||
void produceGenericObjects();
|
||||
void produceGenericObjects(TmFunnel** funnel);
|
||||
|
||||
} // namespace ObjectFactory
|
||||
|
||||
|
Reference in New Issue
Block a user