X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=logicdatasnapshot.h;h=16e8eddef2b22f1ea635e3cb6e38e56dc494734c;hb=b3f22de060b73f15ad3eb2dabee04a0b4f5d947e;hp=de0f4732bf28fb1c949a904b0c0364cb2ef1aaa1;hpb=8743e7cba1f05ea0dde3dd566f28e6082ed055d0;p=pulseview.git diff --git a/logicdatasnapshot.h b/logicdatasnapshot.h index de0f473..16e8edd 100644 --- a/logicdatasnapshot.h +++ b/logicdatasnapshot.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the PulseView project. * * Copyright (C) 2012 Joel Holdsworth * @@ -27,6 +27,8 @@ namespace LogicDataSnapshotTest { class Pow2; class Basic; class LargeData; + class Pulses; + class LongPulses; } class LogicDataSnapshot : public DataSnapshot @@ -79,6 +81,7 @@ public: float min_length, int sig_index); private: + uint64_t get_subsample(int level, uint64_t offset) const; static int64_t pow2_ceil(int64_t x, unsigned int power); @@ -89,4 +92,6 @@ private: friend class LogicDataSnapshotTest::Pow2; friend class LogicDataSnapshotTest::Basic; friend class LogicDataSnapshotTest::LargeData; + friend class LogicDataSnapshotTest::Pulses; + friend class LogicDataSnapshotTest::LongPulses; };