fsfw-example-common/example/utility/TmFunnel.cpp

17 lines
514 B
C++
Raw Normal View History

2021-10-17 23:21:38 +02:00
#include "TmFunnel.h"
2021-06-08 13:29:49 +02:00
#include <fsfw/ipc/QueueFactory.h>
TmFunnel::TmFunnel(object_id_t objectId, PusTmFunnel& pusFunnel, CfdpTmFunnel& cfdpFunnel)
: SystemObject(objectId), pusFunnel(pusFunnel), cfdpFunnel(cfdpFunnel) {}
2021-06-08 13:29:49 +02:00
2022-07-27 17:00:57 +02:00
TmFunnel::~TmFunnel() = default;
2021-06-08 13:29:49 +02:00
ReturnValue_t TmFunnel::performOperation(uint8_t operationCode) {
pusFunnel.performOperation(operationCode);
cfdpFunnel.performOperation(operationCode);
return returnvalue::OK;
2021-06-08 13:29:49 +02:00
}
2022-08-08 12:32:06 +02:00
ReturnValue_t TmFunnel::initialize() { return returnvalue::OK; }