8#ifndef META_OCEAN_IO_SERIALIZATION_INPUT_DATA_SERIALIZER_H
9#define META_OCEAN_IO_SERIALIZATION_INPUT_DATA_SERIALIZER_H
128 class SampleQueue :
public std::priority_queue<SamplePair, std::vector<SamplePair>, SamplePairComparator>
197 template <
typename T>
292 inline explicit FileStream(
const std::string& filename);
311 inline bool isValid()
const override;
355 return sampleA.second->playbackTimestamp() > sampleB.second->playbackTimestamp();
360 ocean_assert(!empty());
362 std::pop_heap(c.begin(), c.end(), comp);
371 stream_(filename.c_str(), std::ios::binary),
This class holds channel configuration (sample type, name, and content type).
Definition DataSerializer.h:58
This class implements a channel with configuration and channel id.
Definition DataSerializer.h:138
Channel()=default
Creates a new invalid channel.
This class implements the base class for data serializers.
Definition DataSerializer.h:40
std::pair< ChannelId, UniqueDataSample > SamplePair
Definition of a pair holding a channel id and a unique data sample.
Definition DataSerializer.h:219
std::vector< Channel > Channels
Definition of a vector holding channels.
Definition DataSerializer.h:194
uint32_t ChannelId
Definition of a channel id.
Definition DataSerializer.h:44
std::unique_ptr< DataSample > UniqueDataSample
Definition of a unique pointer holding a DataSample.
Definition DataSample.h:39
Namespace of the Ocean IO Serialization library.
Definition DataSample.h:29
Namespace of the Ocean IO library.
Definition Base64.h:17
The namespace covering the entire Ocean framework.
Definition Accessor.h:15