projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring: move samplerate algo from View to Session
[pulseview.git]
/
pv
/
session.hpp
diff --git
a/pv/session.hpp
b/pv/session.hpp
index 0828edbbf912cb3d8e09e18db94102df872ca1e1..0a8f018cbc1216a898d63d0393f80236cca486f7 100644
(file)
--- a/
pv/session.hpp
+++ b/
pv/session.hpp
@@
-31,7
+31,7
@@
#include <vector>
#ifdef _WIN32
#include <vector>
#ifdef _WIN32
-// Windows: Avoid
namespace pollution by thread.hpp
(which includes windows.h).
+// Windows: Avoid
boost/thread namespace pollution
(which includes windows.h).
#define NOGDI
#define NORESOURCE
#endif
#define NOGDI
#define NORESOURCE
#endif
@@
-114,6
+114,8
@@
public:
std::set< std::shared_ptr<data::SignalData> > get_data() const;
std::set< std::shared_ptr<data::SignalData> > get_data() const;
+ double get_samplerate() const;
+
const std::unordered_set< std::shared_ptr<view::Signal> >
signals() const;
const std::unordered_set< std::shared_ptr<view::Signal> >
signals() const;