include fixes
This commit is contained in:
parent
4f3cfdcaaf
commit
3c814a5e61
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_MONITORING_ABSLIMITMONITOR_H_
|
||||
#define FRAMEWORK_MONITORING_ABSLIMITMONITOR_H_
|
||||
|
||||
#include "../monitoring/MonitorBase.h"
|
||||
#include "MonitorBase.h"
|
||||
#include <cmath>
|
||||
|
||||
template<typename T>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_MONITORING_LIMITMONITOR_H_
|
||||
#define FRAMEWORK_MONITORING_LIMITMONITOR_H_
|
||||
|
||||
#include "../monitoring/MonitorBase.h"
|
||||
#include "MonitorBase.h"
|
||||
|
||||
/**
|
||||
* Variant of a limit checking class.
|
||||
@ -16,13 +16,12 @@ public:
|
||||
uint16_t confirmationLimit, T lowerLimit, T upperLimit,
|
||||
Event belowLowEvent = MonitoringIF::VALUE_BELOW_LOW_LIMIT,
|
||||
Event aboveHighEvent = MonitoringIF::VALUE_ABOVE_HIGH_LIMIT) :
|
||||
MonitorBase<T>(reporterId, monitorId, parameterId, confirmationLimit),
|
||||
lowerLimit(lowerLimit), upperLimit(upperLimit), belowLowEvent(belowLowEvent),
|
||||
aboveHighEvent(aboveHighEvent) {
|
||||
MonitorBase<T>(reporterId, monitorId, parameterId, confirmationLimit), lowerLimit(
|
||||
lowerLimit), upperLimit(upperLimit), belowLowEvent(
|
||||
belowLowEvent), aboveHighEvent(aboveHighEvent) {
|
||||
}
|
||||
virtual ~LimitMonitor() {
|
||||
}
|
||||
|
||||
virtual ~LimitMonitor() {}
|
||||
|
||||
virtual ReturnValue_t checkSample(T sample, T* crossedLimit) {
|
||||
*crossedLimit = 0.0;
|
||||
if (sample > upperLimit) {
|
||||
|
@ -4,9 +4,9 @@
|
||||
* @date 17.07.2014
|
||||
* @author baetz
|
||||
*/
|
||||
#include "../monitoring/LimitViolationReporter.h"
|
||||
#include "../monitoring/MonitoringIF.h"
|
||||
#include "../monitoring/ReceivesMonitoringReportsIF.h"
|
||||
#include "LimitViolationReporter.h"
|
||||
#include "MonitoringIF.h"
|
||||
#include "ReceivesMonitoringReportsIF.h"
|
||||
#include "../objectmanager/ObjectManagerIF.h"
|
||||
#include "../serialize/SerializeAdapter.h"
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
#ifndef MONITORBASE_H_
|
||||
#define MONITORBASE_H_
|
||||
|
||||
#include "../datapoolglob/GlobalDataSet.h"
|
||||
#include "../datapoolglob/PIDReader.h"
|
||||
#include "../monitoring/LimitViolationReporter.h"
|
||||
#include "../monitoring/MonitoringIF.h"
|
||||
#include "../monitoring/MonitoringMessageContent.h"
|
||||
#include "../monitoring/MonitorReporter.h"
|
||||
#include "../datapool/DataSet.h"
|
||||
#include "../datapool/PIDReader.h"
|
||||
#include "LimitViolationReporter.h"
|
||||
#include "MonitoringIF.h"
|
||||
#include "MonitoringMessageContent.h"
|
||||
#include "MonitorReporter.h"
|
||||
|
||||
/**
|
||||
* Base class for monitoring of parameters.
|
||||
|
@ -2,9 +2,9 @@
|
||||
#define FRAMEWORK_MONITORING_MONITORREPORTER_H_
|
||||
|
||||
#include "../events/EventManagerIF.h"
|
||||
#include "../monitoring/LimitViolationReporter.h"
|
||||
#include "../monitoring/MonitoringIF.h"
|
||||
#include "../monitoring/MonitoringMessageContent.h"
|
||||
#include "LimitViolationReporter.h"
|
||||
#include "MonitoringIF.h"
|
||||
#include "MonitoringMessageContent.h"
|
||||
#include "../parameters/HasParametersIF.h"
|
||||
|
||||
template<typename T>
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define MONITORINGIF_H_
|
||||
|
||||
#include "../memory/HasMemoryIF.h"
|
||||
#include "../monitoring/MonitoringMessage.h"
|
||||
#include "MonitoringMessage.h"
|
||||
#include "../serialize/SerializeIF.h"
|
||||
|
||||
class MonitoringIF : public SerializeIF {
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../monitoring/MonitoringMessage.h"
|
||||
#include "MonitoringMessage.h"
|
||||
#include "../objectmanager/ObjectManagerIF.h"
|
||||
|
||||
MonitoringMessage::~MonitoringMessage() {
|
||||
|
@ -1,8 +1,8 @@
|
||||
#ifndef MONITORINGMESSAGECONTENT_H_
|
||||
#define MONITORINGMESSAGECONTENT_H_
|
||||
|
||||
#include "../monitoring/HasMonitorsIF.h"
|
||||
#include "../monitoring/MonitoringIF.h"
|
||||
#include "HasMonitorsIF.h"
|
||||
#include "MonitoringIF.h"
|
||||
#include "../objectmanager/ObjectManagerIF.h"
|
||||
#include "../serialize/SerialBufferAdapter.h"
|
||||
#include "../serialize/SerialFixedArrayListAdapter.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FRAMEWORK_MONITORING_TWOVALUELIMITMONITOR_H_
|
||||
#define FRAMEWORK_MONITORING_TWOVALUELIMITMONITOR_H_
|
||||
|
||||
#include "../monitoring/LimitMonitor.h"
|
||||
#include "LimitMonitor.h"
|
||||
|
||||
template<typename T>
|
||||
class TwoValueLimitMonitor: public LimitMonitor<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user