fsfw/src/fsfw/monitoring/LimitViolationReporter.h

35 lines
875 B
C++

/**
* @file LimitViolationReporter.h
* @brief This file defines the LimitViolationReporter class.
* @date 17.07.2014
* @author baetz
*/
#ifndef LIMITVIOLATIONREPORTER_H_
#define LIMITVIOLATIONREPORTER_H_
#include "../ipc/MessageQueueSenderIF.h"
#include "../returnvalues/returnvalue.h"
#include "../serialize/SerializeIF.h"
#include "../storagemanager/StorageManagerIF.h"
#include "monitoringConf.h"
namespace Factory {
void setStaticFrameworkObjectIds();
}
class LimitViolationReporter {
friend void(Factory::setStaticFrameworkObjectIds)();
public:
static ReturnValue_t sendLimitViolationReport(const SerializeIF* data);
private:
static object_id_t reportingTarget;
static MessageQueueId_t reportQueue;
static StorageManagerIF* ipcStore;
static ReturnValue_t checkClassLoaded();
LimitViolationReporter();
};
#endif /* LIMITVIOLATIONREPORTER_H_ */