Update to version 3.2

This commit is contained in:
2026-03-18 14:56:42 +01:00
parent f593487c77
commit 44609d367f
49 changed files with 12657 additions and 3668 deletions

View File

@@ -16,6 +16,7 @@
#ifndef GEMPA_CAPS_PACKET_H
#define GEMPA_CAPS_PACKET_H
#include <gempa/caps/api.h>
#include <gempa/caps/endianess.h>
@@ -24,12 +25,11 @@
#include <boost/shared_ptr.hpp>
#include <stdint.h>
#include <cstdint>
#include <string>
#include <vector>
namespace Gempa {
namespace CAPS {
@@ -320,6 +320,7 @@ class SC_GEMPA_CAPS_API DataRecord {
public:
virtual ~DataRecord();
virtual DataRecord *clone() const = 0;
virtual const char *formatName() const = 0;
virtual bool readMetaData(std::streambuf &buf, int size,
@@ -393,7 +394,8 @@ class SC_GEMPA_CAPS_API DataRecord {
Buffer _data;
};
typedef boost::shared_ptr<DataRecord> DataRecordPtr;
using DataRecordPtr = boost::shared_ptr<DataRecord>;
struct RawPacket {
@@ -403,6 +405,7 @@ struct RawPacket {
DataRecord *record;
};
struct MetaPacket {
std::string SID[4];
PacketDataHeader packetDataHeader;
@@ -413,6 +416,7 @@ struct MetaPacket {
Time timestamp;
};
}
}