2016-06-15 23:48:41 +02:00
|
|
|
#ifndef FRAMEWORK_FDIR_CONFIRMSFAILURESIF_H_
|
|
|
|
#define FRAMEWORK_FDIR_CONFIRMSFAILURESIF_H_
|
|
|
|
|
2020-08-13 20:53:35 +02:00
|
|
|
#include "../returnvalues/HasReturnvaluesIF.h"
|
|
|
|
#include "../ipc/MessageQueueSenderIF.h"
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
class ConfirmsFailuresIF {
|
|
|
|
public:
|
2018-07-12 16:29:32 +02:00
|
|
|
static const uint8_t INTERFACE_ID = CLASS_ID::HANDLES_FAILURES_IF;
|
2016-06-15 23:48:41 +02:00
|
|
|
static const ReturnValue_t YOUR_FAULT = MAKE_RETURN_CODE(0);
|
|
|
|
static const ReturnValue_t MY_FAULT = MAKE_RETURN_CODE(1);
|
|
|
|
static const ReturnValue_t CONFIRM_LATER = MAKE_RETURN_CODE(2);
|
|
|
|
virtual ~ConfirmsFailuresIF() {}
|
|
|
|
virtual MessageQueueId_t getEventReceptionQueue() = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* FRAMEWORK_FDIR_CONFIRMSFAILURESIF_H_ */
|