fsfw/src/fsfw/timemanager/ReceivesTimeInfoIF.h

24 lines
642 B
C
Raw Normal View History

2020-12-15 23:00:30 +01:00
#ifndef FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
#define FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
2022-07-25 10:31:49 +02:00
#include "fsfw/ipc/MessageQueueSenderIF.h"
/**
* This is a Interface for classes that receive timing information
* with the help of a dedicated message queue.
*/
class ReceivesTimeInfoIF {
2022-02-02 10:29:30 +01:00
public:
/**
* Returns the id of the queue which receives the timing information.
* @return Queue id of the timing queue.
*/
2022-07-25 10:31:49 +02:00
[[nodiscard]] virtual MessageQueueId_t getTimeReceptionQueue() const = 0;
2022-02-02 10:29:30 +01:00
/**
* Empty virtual destructor.
*/
2022-07-25 10:31:49 +02:00
virtual ~ReceivesTimeInfoIF() = default;
};
2020-12-15 23:00:30 +01:00
#endif /* FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_ */