fsfw/src/fsfw/tmtcservices/AcceptsTelemetryIF.h

28 lines
852 B
C
Raw Normal View History

2020-12-14 21:30:39 +01:00
#ifndef FSFW_TMTCSERVICES_ACCEPTSTELEMETRYIF_H_
#define FSFW_TMTCSERVICES_ACCEPTSTELEMETRYIF_H_
2020-08-13 20:53:35 +02:00
#include "../ipc/MessageQueueSenderIF.h"
/**
* @brief This interface is implemented by classes that are sinks for
* Telemetry.
* @details Any object receiving telemetry shall implement this interface
* and thus make the service id and the receiving message queue public.
*/
class AcceptsTelemetryIF {
public:
/**
* @brief The virtual destructor as it is mandatory for C++ interfaces.
*/
virtual ~AcceptsTelemetryIF() {
}
/**
* @brief This method returns the message queue id of the telemetry
* receiving message queue.
* @return The telemetry reception message queue id.
*/
2020-12-14 21:30:39 +01:00
virtual MessageQueueId_t getReportReceptionQueue(
uint8_t virtualChannel = 0) = 0;
};
2020-12-14 21:30:39 +01:00
#endif /* FSFW_TMTCSERVICES_ACCEPTSTELEMETRYIF_H_ */