[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
115
include/seiscomp/qc/qcprocessor.h
Normal file
115
include/seiscomp/qc/qcprocessor.h
Normal file
@ -0,0 +1,115 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSOR_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSOR_H
|
||||
|
||||
#include <deque>
|
||||
|
||||
#include <seiscomp/core/datetime.h>
|
||||
#include <seiscomp/processing/waveformprocessor.h>
|
||||
#include <seiscomp/core/baseobject.h>
|
||||
|
||||
#include <boost/any.hpp>
|
||||
|
||||
using boost::any_cast;
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorObserver);
|
||||
|
||||
class QcProcessorObserver: public Core::BaseObject {
|
||||
DECLARE_SC_CLASS(QcProcessorObserver);
|
||||
|
||||
public:
|
||||
QcProcessorObserver();
|
||||
virtual void update() = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcParameter);
|
||||
|
||||
//! This class represents the QC processing result.
|
||||
class SC_SYSTEM_CLIENT_API QcParameter : public Core::BaseObject {
|
||||
DECLARE_SC_CLASS(QcParameter);
|
||||
|
||||
public:
|
||||
QcParameter() {}
|
||||
|
||||
Core::Time recordStartTime, recordEndTime;
|
||||
float recordSamplingFrequency;
|
||||
boost::any parameter;
|
||||
};
|
||||
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessor);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessor : public WaveformProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessor);
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
QcProcessor(const Core::TimeSpan& deadTime=0.0, const Core::TimeSpan &gapThreshold=300.0);
|
||||
|
||||
//! Destructor
|
||||
virtual ~QcProcessor();
|
||||
|
||||
//! To register in QC processing interested observers
|
||||
bool subscribe(QcProcessorObserver *obs);
|
||||
|
||||
//! To unregister in QC processing uninterested observers
|
||||
bool unsubscribe(QcProcessorObserver *obs);
|
||||
|
||||
//! Returns the result of QC processing
|
||||
QcParameter* getState() const;
|
||||
|
||||
//! Calculates the specific result in derived classes
|
||||
virtual bool setState(const Record* record, const DoubleArray& data) = 0;
|
||||
|
||||
//! Returns true if QC processing result is successfully initialized; false otherwise
|
||||
bool isSet() const;
|
||||
|
||||
//! Returns true in case of a valid value in QC processing result; false otherwise
|
||||
bool isValid() const;
|
||||
|
||||
protected:
|
||||
//! Implements the inherited method
|
||||
//! Notifies registered observers
|
||||
virtual void process(const Record* record, const DoubleArray& data);
|
||||
|
||||
QcParameterPtr _qcp;
|
||||
|
||||
private:
|
||||
std::deque<QcProcessorObserver *> _observers;
|
||||
bool _setFlag;
|
||||
bool _validFlag;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
47
include/seiscomp/qc/qcprocessor_availability.h
Normal file
47
include/seiscomp/qc/qcprocessor_availability.h
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORAVAILABILITY_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORAVAILABILITY_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorAvailability);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorAvailability : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorAvailability);
|
||||
|
||||
public:
|
||||
QcProcessorAvailability();
|
||||
double getAvailability();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
52
include/seiscomp/qc/qcprocessor_delay.h
Normal file
52
include/seiscomp/qc/qcprocessor_delay.h
Normal file
@ -0,0 +1,52 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORDELAY_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORDELAY_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
//! we can also calculate this from data-latency ...
|
||||
//! delay = record-arrival time minus record-data (mean|end) time
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorDelay);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorDelay : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorDelay);
|
||||
|
||||
public:
|
||||
QcProcessorDelay();
|
||||
|
||||
double getDelay();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
48
include/seiscomp/qc/qcprocessor_gap.h
Normal file
48
include/seiscomp/qc/qcprocessor_gap.h
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORGAP_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORGAP_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorGap);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorGap : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorGap);
|
||||
|
||||
public:
|
||||
QcProcessorGap();
|
||||
double getGap();
|
||||
bool setState(const Record *record, const DoubleArray &data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
51
include/seiscomp/qc/qcprocessor_latency.h
Normal file
51
include/seiscomp/qc/qcprocessor_latency.h
Normal file
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORLATENCY_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORLATENCY_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorLatency);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorLatency : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorLatency);
|
||||
|
||||
public:
|
||||
QcProcessorLatency();
|
||||
double getLatency();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
|
||||
private:
|
||||
Core::Time _lastRecordArrivalTime;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
48
include/seiscomp/qc/qcprocessor_mean.h
Normal file
48
include/seiscomp/qc/qcprocessor_mean.h
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORMEAN_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORMEAN_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorMean);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorMean : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorMean);
|
||||
|
||||
public:
|
||||
QcProcessorMean();
|
||||
|
||||
double getMean();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
53
include/seiscomp/qc/qcprocessor_outage.h
Normal file
53
include/seiscomp/qc/qcprocessor_outage.h
Normal file
@ -0,0 +1,53 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSOROUTAGE_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSOROUTAGE_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorOutage);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorOutage : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorOutage);
|
||||
|
||||
public:
|
||||
QcProcessorOutage();
|
||||
void setThreshold(int threshold);
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
double getOutage();
|
||||
|
||||
private:
|
||||
int _threshold;
|
||||
Core::Time _recent;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
48
include/seiscomp/qc/qcprocessor_overlap.h
Normal file
48
include/seiscomp/qc/qcprocessor_overlap.h
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSOROVERLAP_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSOROVERLAP_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorOverlap);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorOverlap : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorOverlap);
|
||||
|
||||
public:
|
||||
QcProcessorOverlap();
|
||||
double getOverlap();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
47
include/seiscomp/qc/qcprocessor_rms.h
Normal file
47
include/seiscomp/qc/qcprocessor_rms.h
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORRMS_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORRMS_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorRms);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorRms : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorRms);
|
||||
|
||||
public:
|
||||
QcProcessorRms();
|
||||
double getRms();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
57
include/seiscomp/qc/qcprocessor_spike.h
Normal file
57
include/seiscomp/qc/qcprocessor_spike.h
Normal file
@ -0,0 +1,57 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORSPIKE_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORSPIKE_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorSpike);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorSpike : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorSpike);
|
||||
|
||||
public:
|
||||
QcProcessorSpike();
|
||||
~QcProcessorSpike();
|
||||
|
||||
typedef std::map<Core::Time, double> Spikes;
|
||||
Spikes getSpikes();
|
||||
|
||||
bool feed(const Record *record);
|
||||
void _setFilter(double fsamp);
|
||||
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
|
||||
private:
|
||||
bool _initFilter;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
47
include/seiscomp/qc/qcprocessor_timing.h
Normal file
47
include/seiscomp/qc/qcprocessor_timing.h
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) gempa GmbH *
|
||||
* All rights reserved. *
|
||||
* Contact: gempa GmbH (seiscomp-dev@gempa.de) *
|
||||
* *
|
||||
* GNU Affero General Public License Usage *
|
||||
* This file may be used under the terms of the GNU Affero *
|
||||
* Public License version 3.0 as published by the Free Software Foundation *
|
||||
* and appearing in the file LICENSE included in the packaging of this *
|
||||
* file. Please review the following information to ensure the GNU Affero *
|
||||
* Public License version 3.0 requirements will be met: *
|
||||
* https://www.gnu.org/licenses/agpl-3.0.html. *
|
||||
* *
|
||||
* Other Usage *
|
||||
* Alternatively, this file may be used in accordance with the terms and *
|
||||
* conditions contained in a signed written agreement between you and *
|
||||
* gempa GmbH. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_PROCESSING_QCPROCESSORTIMING_H
|
||||
#define SEISCOMP_PROCESSING_QCPROCESSORTIMING_H
|
||||
|
||||
|
||||
#include <seiscomp/qc/qcprocessor.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Processing {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(QcProcessorTiming);
|
||||
|
||||
class SC_SYSTEM_CLIENT_API QcProcessorTiming : public QcProcessor {
|
||||
DECLARE_SC_CLASS(QcProcessorTiming);
|
||||
|
||||
public:
|
||||
QcProcessorTiming();
|
||||
double getTiming();
|
||||
bool setState(const Record* record, const DoubleArray& data);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user