26 #ifndef NIDAS_CORE_SORTEDSAMPLESET_H
27 #define NIDAS_CORE_SORTEDSAMPLESET_H
33 namespace nidas {
namespace core {
virtual unsigned int getDataLength() const =0
Get the number of elements in data portion of sample.
Comparator of pointers to Samples, does the same checks as SampleHeaderComparator, but in addition, if two samples compare as equal, then compares their data.
Definition: SortedSampleSet.h:80
std::multiset< const Sample *, SampleTimetagComparator > SortedSampleSet
A multiset for storing samples sorted by timetag.
Definition: SortedSampleSet.h:107
virtual const void * getConstVoidDataPtr() const =0
Get a const void* pointer to the data portion of the sample.
dsm_time_t getTimeTag() const
Time-tag in non-leap microseconds since Jan 1, 1970 00:00 GMT.
Definition: Sample.h:205
dsm_sample_id_t getId() const
Get the id portion of the sample header.
Definition: Sample.h:217
Interface to a data sample.
Definition: Sample.h:189
std::set< const Sample *, FullSampleComparator > SortedSampleSet3
Definition: SortedSampleSet.h:120
std::set< const Sample *, SampleHeaderComparator > SortedSampleSet2
A set for storing samples sorted by the timetag, id and data length.
Definition: SortedSampleSet.h:118
bool operator()(const Sample *x, const Sample *y) const
Return true if x is less than y.
Definition: SortedSampleSet.h:85