* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_DATA_LOGIC_H
-#define PULSEVIEW_PV_DATA_LOGIC_H
+#ifndef PULSEVIEW_PV_DATA_LOGIC_HPP
+#define PULSEVIEW_PV_DATA_LOGIC_HPP
#include "signaldata.hpp"
public:
Logic(unsigned int num_channels);
- int get_num_channels() const;
+ unsigned int num_channels() const;
void push_segment(
std::shared_ptr<LogicSegment> &segment);
void clear();
- uint64_t get_max_sample_count() const;
+ uint64_t max_sample_count() const;
private:
const unsigned int num_channels_;
} // namespace data
} // namespace pv
-#endif // PULSEVIEW_PV_DATA_LOGIC_H
+#endif // PULSEVIEW_PV_DATA_LOGIC_HPP