21 #ifndef PULSEVIEW_PV_DATA_SEGMENT_HPP
22 #define PULSEVIEW_PV_DATA_SEGMENT_HPP
92 #endif // PULSEVIEW_PV_DATA_SEGMENT_HPP
unsigned int unit_size() const
Segment(uint64_t samplerate, unsigned int unit_size)
void set_capacity(uint64_t new_capacity)
Increase the capacity of the segment.
uint64_t capacity() const
Get the current capacity of the segment.
std::vector< uint8_t > data_
void append_data(void *data, uint64_t samples)
double samplerate() const
const pv::util::Timestamp & start_time() const
pv::util::Timestamp start_time_
uint64_t get_sample_count() const
void set_samplerate(double samplerate)
std::recursive_mutex mutex_
boost::multiprecision::number< boost::multiprecision::cpp_dec_float< 24 >, boost::multiprecision::et_off > Timestamp
Timestamp type providing yoctosecond resolution.