segments_.clear();
}
-uint64_t Analog::get_max_sample_count() const
+uint64_t Analog::max_sample_count() const
{
uint64_t l = 0;
for (const std::shared_ptr<AnalogSegment> s : segments_) {
void clear();
- uint64_t get_max_sample_count() const;
+ uint64_t max_sample_count() const;
private:
std::deque< std::shared_ptr<AnalogSegment> > segments_;
decode_thread_ = std::thread(&DecoderStack::decode_proc, this);
}
-uint64_t DecoderStack::get_max_sample_count() const
+uint64_t DecoderStack::max_sample_count() const
{
uint64_t max_sample_count = 0;
void clear();
- uint64_t get_max_sample_count() const;
+ uint64_t max_sample_count() const;
void begin_decode();
segments_.clear();
}
-uint64_t Logic::get_max_sample_count() const
+uint64_t Logic::max_sample_count() const
{
uint64_t l = 0;
for (std::shared_ptr<LogicSegment> s : segments_) {
void clear();
- uint64_t get_max_sample_count() const;
+ uint64_t max_sample_count() const;
private:
const unsigned int num_channels_;
virtual void clear() = 0;
- virtual uint64_t get_max_sample_count() const = 0;
+ virtual uint64_t max_sample_count() const = 0;
};
} // namespace data
const double start_time = s->start_time();
left_time = min(left_time, start_time);
right_time = max(right_time, start_time +
- d->get_max_sample_count() / samplerate);
+ d->max_sample_count() / samplerate);
}
}