2016-06-15 23:48:41 +02:00
|
|
|
/**
|
|
|
|
* @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>
|
2018-07-12 16:29:32 +02:00
|
|
|
#include <framework/ipc/MessageQueueSenderIF.h>
|
|
|
|
|
|
|
|
namespace Factory{
|
|
|
|
void setStaticFrameworkObjectIds();
|
|
|
|
}
|
2016-06-15 23:48:41 +02:00
|
|
|
|
|
|
|
class LimitViolationReporter {
|
2018-07-12 16:29:32 +02:00
|
|
|
friend void (Factory::setStaticFrameworkObjectIds)();
|
2016-06-15 23:48:41 +02:00
|
|
|
public:
|
|
|
|
static ReturnValue_t sendLimitViolationReport(const SerializeIF* data);
|
|
|
|
private:
|
2018-07-12 16:29:32 +02:00
|
|
|
static object_id_t reportingTarget;
|
|
|
|
static MessageQueueId_t reportQueue;
|
2016-06-15 23:48:41 +02:00
|
|
|
static StorageManagerIF* ipcStore;
|
|
|
|
static ReturnValue_t checkClassLoaded();
|
|
|
|
LimitViolationReporter();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* LIMITVIOLATIONREPORTER_H_ */
|