2022-06-23 12:05:56 +02:00
|
|
|
#ifndef MISSION_UTILITY_TMFUNNEL_H_
|
|
|
|
#define MISSION_UTILITY_TMFUNNEL_H_
|
|
|
|
|
|
|
|
#include <fsfw/ipc/MessageQueueIF.h>
|
|
|
|
#include <fsfw/objectmanager/SystemObject.h>
|
|
|
|
#include <fsfw/tasks/ExecutableObjectIF.h>
|
|
|
|
#include <fsfw/tmtcservices/AcceptsTelemetryIF.h>
|
|
|
|
#include <fsfw/tmtcservices/TmTcMessage.h>
|
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
#include "CfdpTmFunnel.h"
|
|
|
|
#include "PusTmFunnel.h"
|
|
|
|
#include "fsfw/timemanager/TimeReaderIF.h"
|
2022-06-23 12:05:56 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief TM Recipient.
|
|
|
|
* @details
|
|
|
|
* Main telemetry receiver. All generated telemetry is funneled into
|
|
|
|
* this object.
|
|
|
|
* @ingroup utility
|
2022-10-21 11:51:44 +02:00
|
|
|
* @author J. Meier, R. Mueller
|
2022-06-23 12:05:56 +02:00
|
|
|
*/
|
2022-11-02 10:20:14 +01:00
|
|
|
class TmFunnelHandler : public ExecutableObjectIF, public SystemObject {
|
2022-06-23 12:05:56 +02:00
|
|
|
public:
|
2022-11-02 10:20:14 +01:00
|
|
|
TmFunnelHandler(object_id_t objectId, PusTmFunnel& pusFunnel, CfdpTmFunnel& cfdpFunnel);
|
|
|
|
~TmFunnelHandler() override;
|
2022-06-23 12:05:56 +02:00
|
|
|
|
2022-10-21 11:51:44 +02:00
|
|
|
ReturnValue_t performOperation(uint8_t operationCode) override;
|
2022-09-16 11:43:11 +02:00
|
|
|
ReturnValue_t initialize() override;
|
2022-06-23 12:05:56 +02:00
|
|
|
|
|
|
|
private:
|
2022-10-21 11:51:44 +02:00
|
|
|
PusTmFunnel& pusFunnel;
|
|
|
|
CfdpTmFunnel& cfdpFunnel;
|
2022-06-23 12:05:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_UTILITY_TMFUNNEL_H_ */
|