Install SeisComP and scanloc ARM64 nightly packages

This commit is contained in:
Enrico Ellguth
2025-10-29 12:34:04 +00:00
parent 2ff097f9d1
commit 165b829fb7
606 changed files with 24438 additions and 16358 deletions

View File

@ -25,12 +25,13 @@
#include <seiscomp/core.h>
#include <seiscomp/geo/feature.h>
#include <vector>
#include <boost/filesystem/path.hpp>
#include <ostream>
#include <vector>
namespace Seiscomp {
namespace Geo {
namespace Seiscomp::Geo {
class GeoFeatureSet;
@ -54,13 +55,16 @@ class SC_SYSTEM_CORE_API GeoFeatureSetObserver {
class SC_SYSTEM_CORE_API GeoFeatureSet : public Core::BaseObject {
public:
/** Default constructor */
GeoFeatureSet();
GeoFeatureSet() = default;
/** Destructor */
virtual ~GeoFeatureSet();
/** Copy operator, intentionally left undefined */
GeoFeatureSet & operator=(const GeoFeatureSet &);
using Features = std::vector<GeoFeature*>;
using Categories = std::vector<Category*>;
public:
bool registerObserver(GeoFeatureSetObserver*);
@ -68,6 +72,11 @@ class SC_SYSTEM_CORE_API GeoFeatureSet : public Core::BaseObject {
public:
/** Comparison operator */
bool operator==(const GeoFeatureSet &other) const;
/** Comparison operator */
bool operator!=(const GeoFeatureSet &other) const;
/**
* Removes and destructs all elements from the _features and
* _categories vectors
@ -124,10 +133,10 @@ class SC_SYSTEM_CORE_API GeoFeatureSet : public Core::BaseObject {
bool addFeature(GeoFeature *feature);
/** Returns reference to GeoFeature vector */
const std::vector<GeoFeature*> &features() const { return _features; };
const Features &features() const { return _features; };
/** Returns reference to Category vector */
const std::vector<Category*> &categories() const { return _categories; };
const Categories &categories() const { return _categories; };
private:
@ -143,8 +152,8 @@ class SC_SYSTEM_CORE_API GeoFeatureSet : public Core::BaseObject {
Category *category);
/** Prints the number of polygons read */
const std::string initStatus(const std::string &directory,
unsigned int fileCount) const;
std::string initStatus(const std::string &directory,
unsigned int fileCount) const;
/** Compares two GeoFeatures by their rank */
static bool compareByRank(const GeoFeature* gf1, const GeoFeature* gf2);
@ -160,15 +169,17 @@ class SC_SYSTEM_CORE_API GeoFeatureSet : public Core::BaseObject {
private:
/** Vector of GeoFeatures */
std::vector<GeoFeature*> _features;
Features _features;
/** Vector of Categories */
std::vector<Category*> _categories;
Categories _categories;
typedef std::vector<GeoFeatureSetObserver*> ObserverList;
ObserverList _observers;
};
std::ostream& operator<<(std::ostream& os, const GeoFeatureSet &gfs);
class SC_SYSTEM_CORE_API GeoFeatureSetSingleton {
public:
@ -184,8 +195,7 @@ class SC_SYSTEM_CORE_API GeoFeatureSetSingleton {
};
} // of ns Geo
} // of ns Seiscomp
} // ns Seiscomp::Geo
#endif // SEISCOMP_GEO_FEATURESET_H__