From 05f0938a65c4f8c330791097680e1e094260bb60 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Fri, 6 Mar 2026 20:40:29 +0100 Subject: refactoring --- src/scanner.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/scanner.cpp') diff --git a/src/scanner.cpp b/src/scanner.cpp index 07d3c0f..9012769 100644 --- a/src/scanner.cpp +++ b/src/scanner.cpp @@ -2,9 +2,10 @@ #include "protocols/iprotocol.h" -Scanner::Scanner(std::shared_ptr camera, - std::vector> protocols) +Scanner::Scanner(std::shared_ptr camera, std::vector> protocols) : IScanner{camera, protocols} + , m_calibrationTableX{new CalibrationTable{}} + , m_calibrationTableZ{new CalibrationTable{}} { // m_protocols.push_back() } @@ -28,3 +29,13 @@ void Scanner::stopAllProtocols() protocol->stop(); } } + +CalibrationTablePtr Scanner::calibrationTableX() const +{ + return m_calibrationTableX; +} + +CalibrationTablePtr Scanner::calibrationTableZ() const +{ + return m_calibrationTableZ; +} -- cgit v1.3