AcceptsTelemetryIF tweaks #712

Merged
gaisser merged 6 commits from eive/fsfw:mueller/accepts_tm_if_adaptions into development 2022-11-21 16:30:44 +01:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 03620970e2 - Show all commits

View File

@ -21,9 +21,11 @@ class AcceptsTelemetryIF {
* receiving message queue.
* @return The telemetry reception message queue id.
*/
virtual MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) = 0;
[[nodiscard]] virtual MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) const = 0;
virtual MessageQueueId_t getReportReceptionQueue() { return getReportReceptionQueue(0); }
[[nodiscard]] virtual MessageQueueId_t getReportReceptionQueue() const {
return getReportReceptionQueue(0);
}
};
#endif /* FSFW_TMTCSERVICES_ACCEPTSTELEMETRYIF_H_ */