2020-06-30 21:22:26 +02:00
|
|
|
#ifndef FRAMEWORK_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_
|
|
|
|
#define FRAMEWORK_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_
|
2018-07-12 16:29:32 +02:00
|
|
|
|
|
|
|
#include <framework/ipc/MessageQueueSenderIF.h>
|
|
|
|
|
2020-06-30 21:22:26 +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-03-23 19:09:42 +01:00
|
|
|
virtual ~AcceptsDeviceResponsesIF() {}
|
|
|
|
virtual MessageQueueId_t getDeviceQueue() = 0;
|
2018-07-12 16:29:32 +02:00
|
|
|
};
|
|
|
|
|
2020-06-30 21:22:26 +02:00
|
|
|
#endif /* FRAMEWORK_DEVICEHANDLERS_ACCEPTSDEVICERESPONSESIF_H_ */
|