Update to version 3.2
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user