2020-12-15 23:00:30 +01:00
|
|
|
#ifndef FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
|
|
|
|
#define FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
|
2016-06-15 23:48:41 +02:00
|
|
|
|
2020-12-15 23:00:30 +01:00
|
|
|
#include "../ipc/MessageQueueSenderIF.h"
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This is a Interface for classes that receive timing information
|
|
|
|
* with the help of a dedicated message queue.
|
|
|
|
*/
|
|
|
|
class ReceivesTimeInfoIF {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Returns the id of the queue which receives the timing information.
|
|
|
|
* @return Queue id of the timing queue.
|
|
|
|
*/
|
2018-07-12 16:29:32 +02:00
|
|
|
virtual MessageQueueId_t getTimeReceptionQueue() const = 0;
|
2016-06-15 23:48:41 +02:00
|
|
|
/**
|
|
|
|
* Empty virtual destructor.
|
|
|
|
*/
|
|
|
|
virtual ~ReceivesTimeInfoIF() {
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2020-12-15 23:00:30 +01:00
|
|
|
#endif /* FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_ */
|