fsfw/monitoring/LimitViolationReporter.h
Ulrich Mohr 575f70ba03 updating code from Flying Laptop
This is the framework of Flying Laptop OBSW version A.13.0.
2018-07-12 16:29:32 +02:00

32 lines
870 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 <framework/returnvalues/HasReturnvaluesIF.h>
#include <framework/serialize/SerializeIF.h>
#include <framework/storagemanager/StorageManagerIF.h>
#include <framework/ipc/MessageQueueSenderIF.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_ */