comparison 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
comparison
equal deleted inserted replaced
568:66552cfadab0 569:16a590fbc0ba
62 62
63 // Return a const reference to an individual signal. 63 // Return a const reference to an individual signal.
64 inline const vector<float> &get_signal(int channel) const { 64 inline const vector<float> &get_signal(int channel) const {
65 return signals_[channel]; 65 return signals_[channel];
66 }; 66 };
67
68 inline const vector<int>& get_strobes(int channel) const {
69 //DCHECK(channel > 0);
70 //DCHECK(channel < strobes.size());
71 return strobes_[channel];
72 };
67 73
68 // Return a reference to the signal vector. The reference is not 74 // Return a reference to the signal vector. The reference is not
69 // const, so the vector is directly modifiable. In order to maintain 75 // const, so the vector is directly modifiable. In order to maintain
70 // consistency of the data within the filterbank, the size of this 76 // consistency of the data within the filterbank, the size of this
71 // vector should not be changed. Changes to the vector size can be picked 77 // vector should not be changed. Changes to the vector size can be picked