Changeset - 3ea2936f9c86
[Not reviewed]
stream
0 1 0
Hasan Yavuz Ă–ZDERYA - 7 years ago 2018-04-08 13:34:59
hy@ozderya.net
add doc comment
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/samplepack.h
Show inline comments
 
@@ -14,24 +14,29 @@
 
  GNU General Public License for more details.
 

	
 
  You should have received a copy of the GNU General Public License
 
  along with serialplot.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 
#ifndef SAMPLEPACK_H
 
#define SAMPLEPACK_H
 

	
 
class SamplePack
 
{
 
public:
 
    /**
 
     * @param ns number of samples
 
     * @param nc number of channels
 
     * @param x has X channel
 
     */
 
    SamplePack(unsigned ns, unsigned nc, bool x = false);
 
    ~SamplePack();
 

	
 
    bool hasX() const;
 
    unsigned numChannels() const;
 
    unsigned numSamples() const;
 
    double* xData() const;
 
    double* data(unsigned channel) const;
 

	
 
    double* xData();
 
    double* data(unsigned channel);
 

	
0 comments (0 inline, 0 general)