diff trunk/src/Support/SignalBank.h @ 569:16a590fbc0ba

Re-add support for plotting strobes (untested).
author tomwalters@google.com
date Fri, 22 Jun 2012 12:17:24 +0000
parents f2dd5788e1d8
children
line wrap: on
line diff
--- a/trunk/src/Support/SignalBank.h	Wed May 30 20:54:57 2012 +0000
+++ b/trunk/src/Support/SignalBank.h	Fri Jun 22 12:17:24 2012 +0000
@@ -64,6 +64,12 @@
   inline const vector<float> &get_signal(int channel) const {
     return signals_[channel];
   };
+  
+  inline const vector<int>& get_strobes(int channel) const {
+    //DCHECK(channel > 0);
+    //DCHECK(channel < strobes.size());
+    return strobes_[channel];
+  };
 
   // Return a reference to the signal vector. The reference is not
   // const, so the vector is directly modifiable. In order to maintain