2022-10-21 11:51:44 +02:00
|
|
|
#include "TmFunnel.h"
|
2022-06-23 12:05:56 +02:00
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
#include <fsfw/ipc/QueueFactory.h>
|
2022-06-23 12:05:56 +02:00
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
TmFunnel::TmFunnel(object_id_t objectId, PusTmFunnel& pusFunnel, CfdpTmFunnel& cfdpFunnel)
|
|
|
|
: SystemObject(objectId), pusFunnel(pusFunnel), cfdpFunnel(cfdpFunnel) {}
|
2022-06-23 12:05:56 +02:00
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
TmFunnel::~TmFunnel() = default;
|
2022-06-23 12:05:56 +02:00
|
|
|
|
|
|
|
ReturnValue_t TmFunnel::performOperation(uint8_t operationCode) {
|
2022-10-21 11:51:44 +02:00
|
|
|
pusFunnel.performOperation(operationCode);
|
|
|
|
cfdpFunnel.performOperation(operationCode);
|
|
|
|
return returnvalue::OK;
|
2022-06-23 12:05:56 +02:00
|
|
|
}
|
2022-09-16 11:43:11 +02:00
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
ReturnValue_t TmFunnel::initialize() { return returnvalue::OK; }
|