]> sigrok.org Git - pulseview.git/commit
Session: Keep track of signal data locally
authorSoeren Apel <redacted>
Thu, 19 May 2016 18:29:37 +0000 (20:29 +0200)
committerSoeren Apel <redacted>
Thu, 19 May 2016 18:29:37 +0000 (20:29 +0200)
commitcc9a7898ee7afc32e03dbcc991ed7ba722ed8f1b
tree0fb3ee012881744ac3d19806a50061056654a966
parentcda515676ce6c2fa81e1cecacba3ea26ec2ee50e
Session: Keep track of signal data locally

Currently, the Session class doesn't hold pointers to the signal
data itself but instead fetches the data on demand using the list
of signals it has. As the Session is providing the model in the
MVC paradigm, it owns the data and thus should keep track of it
directly. The signals are (in an ideal world) mere views on that
data, so querying them for the signal data isn't good style.
pv/session.cpp
pv/session.hpp