2020-10-12 18:18:41 +02:00
|
|
|
#ifndef FSFW_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_
|
|
|
|
#define FSFW_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_
|
2018-07-12 16:29:32 +02:00
|
|
|
|
2020-08-13 20:53:35 +02:00
|
|
|
#include "../ipc/MessageQueueSenderIF.h"
|
2018-07-12 16:29:32 +02:00
|
|
|
|
2020-10-12 18:18:41 +02:00
|
|
|
/**
|
|
|
|
* This interface is used by the device handler to send a device response
|
|
|
|
* to the queue ID, which is returned in the implemented abstract method.
|
|
|
|
*/
|
2018-07-12 16:29:32 +02:00
|
|
|
class AcceptsDeviceResponsesIF {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Default empty virtual destructor.
|
|
|
|
*/
|
2020-10-12 18:18:41 +02:00
|
|
|
virtual ~AcceptsDeviceResponsesIF() {}
|
|
|
|
virtual MessageQueueId_t getDeviceQueue() = 0;
|
2018-07-12 16:29:32 +02:00
|
|
|
};
|
|
|
|
|
2020-10-12 18:18:41 +02:00
|
|
|
#endif /* FSFW_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_ */
|