25 #ifndef WEEG2SEGMENT_H
26 #define WEEG2SEGMENT_H
31 #include <boost/shared_ptr.hpp>
34 #include "io/WPagerEEG.h"
35 #include "WEEGValueMatrix.h"
53 WEEG2Segment( std::size_t segmentID, boost::shared_ptr< WPagerEEG > pager );
69 boost::shared_ptr< WEEGValueMatrix >
getValues( std::size_t start, std::size_t length )
const;
78 #endif // WEEG2SEGMENT_H
std::size_t m_segmentID
number of this segment
Class which contains one segment of an EEG recording, read from a WPagerEEG.
boost::shared_ptr< WPagerEEG > m_pager
pager class which contains the data, read from a file on demand
std::size_t getNumberOfSamples() const
Get the number of samples this segment consists of.
std::size_t m_nbSamples
number of samples this segment consists of
boost::shared_ptr< WEEGValueMatrix > getValues(std::size_t start, std::size_t length) const
Get the values of all channels for a given sample range.
WEEG2Segment(std::size_t segmentID, boost::shared_ptr< WPagerEEG > pager)
Constructor.