Today's the day. Renamed platform to framework.
This commit is contained in:
26
tmtcservices/AcceptsTelemetryIF.h
Normal file
26
tmtcservices/AcceptsTelemetryIF.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef ACCEPTSTELEMETRYIF_H_
|
||||
#define ACCEPTSTELEMETRYIF_H_
|
||||
|
||||
#include <framework/ipc/MessageQueueSender.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.
|
||||
*/
|
||||
virtual MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel = 0) = 0;
|
||||
};
|
||||
|
||||
#endif /* ACCEPTSTELEMETRYIF_H_ */
|
Reference in New Issue
Block a user