/*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
class DataSnapshot
{
public:
- DataSnapshot();
+ DataSnapshot(int unit_size);
+
+ virtual ~DataSnapshot();
uint64_t get_sample_count();
protected:
+ void append_data(void *data, uint64_t samples);
+
+protected:
+ void *_data;
uint64_t _sample_count;
+ int _unit_size;
};