eive-obsw/mission/tmtc/TmFunnel.cpp
Robin Mueller dc45c53e38
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
add new CFDP and PUS TM funnel
2022-10-21 11:51:44 +02:00

17 lines
514 B
C++

#include "TmFunnel.h"
#include <fsfw/ipc/QueueFactory.h>
TmFunnel::TmFunnel(object_id_t objectId, PusTmFunnel& pusFunnel, CfdpTmFunnel& cfdpFunnel)
: SystemObject(objectId), pusFunnel(pusFunnel), cfdpFunnel(cfdpFunnel) {}
TmFunnel::~TmFunnel() = default;
ReturnValue_t TmFunnel::performOperation(uint8_t operationCode) {
pusFunnel.performOperation(operationCode);
cfdpFunnel.performOperation(operationCode);
return returnvalue::OK;
}
ReturnValue_t TmFunnel::initialize() { return returnvalue::OK; }