/*************************************************************************** * Copyright (C) 2013 by gempa GmbH * * * * All Rights Reserved. * * * * NOTICE: All information contained herein is, and remains * * the property of gempa GmbH and its suppliers, if any. The intellectual * * and technical concepts contained herein are proprietary to gempa GmbH * * and its suppliers. * * Dissemination of this information or reproduction of this material * * is strictly forbidden unless prior written permission is obtained * * from gempa GmbH. * ***************************************************************************/ #ifndef GEMPA_CAPS_SESSIONTABLE_H #define GEMPA_CAPS_SESSIONTABLE_H #include "packet.h" #include #include #include #include namespace Gempa { namespace CAPS { struct SessionTableItem { SessionTableItem() : samplingFrequency(0), samplingFrequencyDivider(0), fSamplingFrequency(0.0), dataType(DT_Unknown), dataSize(0), userData(NULL) {} std::string streamID; std::string net; std::string sta; std::string loc; std::string cha; uint16_t samplingFrequency; uint16_t samplingFrequencyDivider; double fSamplingFrequency; PacketType type; DataType dataType; int dataSize; UOM uom; std::optional