#ifndef PULSEVIEW_PV_DATA_SNAPSHOT_H
#define PULSEVIEW_PV_DATA_SNAPSHOT_H
-extern "C" {
#include <libsigrok/libsigrok.h>
-}
#include <boost/thread.hpp>
virtual ~Snapshot();
- uint64_t get_sample_count();
+ uint64_t get_sample_count() const;
protected:
void append_data(void *data, uint64_t samples);