2021-06-08 13:29:49 +02:00
|
|
|
#ifndef MISSION_UTILITY_TMFUNNEL_H_
|
|
|
|
#define MISSION_UTILITY_TMFUNNEL_H_
|
|
|
|
|
2022-05-05 20:55:28 +02:00
|
|
|
#include <fsfw/ipc/MessageQueueIF.h>
|
2021-06-08 13:29:49 +02:00
|
|
|
#include <fsfw/objectmanager/SystemObject.h>
|
|
|
|
#include <fsfw/tasks/ExecutableObjectIF.h>
|
|
|
|
#include <fsfw/tmtcservices/AcceptsTelemetryIF.h>
|
|
|
|
#include <fsfw/tmtcservices/TmTcMessage.h>
|
|
|
|
|
2022-10-17 16:27:15 +02:00
|
|
|
#include "CfdpTmFunnel.h"
|
|
|
|
#include "PusTmFunnel.h"
|
2022-07-27 17:57:22 +02:00
|
|
|
#include "fsfw/timemanager/TimeReaderIF.h"
|
|
|
|
|
2021-06-08 13:29:49 +02:00
|
|
|
/**
|
|
|
|
* @brief TM Recipient.
|
|
|
|
* @details
|
|
|
|
* Main telemetry receiver. All generated telemetry is funneled into
|
|
|
|
* this object.
|
|
|
|
* @ingroup utility
|
|
|
|
* @author J. Meier
|
|
|
|
*/
|
2022-10-17 16:27:15 +02:00
|
|
|
class TmFunnel : public ExecutableObjectIF, public SystemObject {
|
2022-08-08 12:32:06 +02:00
|
|
|
public:
|
2022-10-17 16:27:15 +02:00
|
|
|
TmFunnel(object_id_t objectId, PusTmFunnel& pusFunnel, CfdpTmFunnel& cfdpFunnel);
|
2022-07-27 17:00:57 +02:00
|
|
|
~TmFunnel() override;
|
2022-05-05 20:55:28 +02:00
|
|
|
|
2022-07-27 17:00:57 +02:00
|
|
|
ReturnValue_t performOperation(uint8_t operationCode) override;
|
|
|
|
ReturnValue_t initialize() override;
|
2022-05-05 20:55:28 +02:00
|
|
|
|
2022-08-08 12:32:06 +02:00
|
|
|
private:
|
2022-10-17 16:27:15 +02:00
|
|
|
PusTmFunnel& pusFunnel;
|
|
|
|
CfdpTmFunnel& cfdpFunnel;
|
2021-06-08 13:29:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_UTILITY_TMFUNNEL_H_ */
|