* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_DATA_ANALOGSNAPSHOT_HPP
-#define PULSEVIEW_PV_DATA_ANALOGSNAPSHOT_HPP
+#ifndef PULSEVIEW_PV_DATA_ANALOGSEGMENT_HPP
+#define PULSEVIEW_PV_DATA_ANALOGSEGMENT_HPP
#include "segment.hpp"
} // namespace data
} // namespace pv
-#endif // PULSEVIEW_PV_DATA_ANALOGSNAPSHOT_HPP
+#endif // PULSEVIEW_PV_DATA_ANALOGSEGMENT_HPP
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_DATA_LOGICSNAPSHOT_HPP
-#define PULSEVIEW_PV_DATA_LOGICSNAPSHOT_HPP
+#ifndef PULSEVIEW_PV_DATA_LOGICSEGMENT_HPP
+#define PULSEVIEW_PV_DATA_LOGICSEGMENT_HPP
#include "segment.hpp"
} // namespace data
} // namespace pv
-#endif // PULSEVIEW_PV_DATA_LOGICSNAPSHOT_HPP
+#endif // PULSEVIEW_PV_DATA_LOGICSEGMENT_HPP
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_DATA_SNAPSHOT_HPP
-#define PULSEVIEW_PV_DATA_SNAPSHOT_HPP
+#ifndef PULSEVIEW_PV_DATA_SEGMENT_HPP
+#define PULSEVIEW_PV_DATA_SEGMENT_HPP
#include <thread>
#include <mutex>
} // namespace data
} // namespace pv
-#endif // PULSEVIEW_PV_DATA_SNAPSHOT_HPP
+#endif // PULSEVIEW_PV_DATA_SEGMENT_HPP
bool StoreSession::start()
{
shared_lock<shared_mutex> lock(session_.signals_mutex());
- unordered_set< shared_ptr<view::Signal> > sigs(session_.signals());
+ const unordered_set< shared_ptr<view::Signal> > &sigs(session_.signals());
// Add enabled channels to the data set
set< shared_ptr<data::SignalData> > data_set;