2020-12-03 18:24:51 +01:00
|
|
|
#ifndef FSFW_MONITORING_HASMONITORSIF_H_
|
|
|
|
#define FSFW_MONITORING_HASMONITORSIF_H_
|
2016-06-15 23:48:41 +02:00
|
|
|
|
2020-08-13 20:53:35 +02:00
|
|
|
#include "../events/EventReportingProxyIF.h"
|
|
|
|
#include "../objectmanager/ObjectManagerIF.h"
|
|
|
|
#include "../ipc/MessageQueueSenderIF.h"
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
class HasMonitorsIF {
|
|
|
|
public:
|
|
|
|
static const uint8_t MAX_N_PARAMETER = 10;
|
|
|
|
// static const uint8_t MAX_N_LIMIT_ID = 10;
|
|
|
|
virtual ReturnValue_t setCheckingOfParameters(uint8_t checkingStrategy,
|
|
|
|
bool forOnePid = false, uint32_t parameterId = 0) = 0;
|
|
|
|
virtual ReturnValue_t modifyParameterMonitor(uint8_t limitType,
|
|
|
|
uint32_t parameterId, const uint8_t* data, uint32_t size) = 0;
|
|
|
|
virtual ReturnValue_t modifyObjectMonitor(uint32_t objectId,
|
|
|
|
const uint8_t* data, const uint32_t size) = 0;
|
|
|
|
virtual void setAllMonitorsToUnchecked() = 0;
|
|
|
|
virtual MessageQueueId_t getCommandQueue() const = 0;
|
|
|
|
virtual ~HasMonitorsIF() {
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-12-03 18:24:51 +01:00
|
|
|
#endif /* FSFW_MONITORING_HASMONITORSIF_H_ */
|