From e049e265959acff3c70021e21a41c3f5a580b8f8 Mon Sep 17 00:00:00 2001 From: Will Eccles Date: Thu, 30 May 2024 15:52:04 -0400 Subject: [PATCH] ScpiClient: make utilities protected --- include/bci/abs/ScpiClient.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/bci/abs/ScpiClient.h b/include/bci/abs/ScpiClient.h index 5bcfaa6..b62d339 100644 --- a/include/bci/abs/ScpiClient.h +++ b/include/bci/abs/ScpiClient.h @@ -1248,10 +1248,7 @@ class ScpiClient { */ Result MeasureAllDigitalInputsMasked() const; - private: - /// Driver handle. - std::shared_ptr driver_; - + protected: /** * @brief Send a message to the ABS. Checks for driver validity. * @@ -1270,6 +1267,10 @@ class ScpiClient { * @return Result containing the response or an error code. */ Result SendAndRecv(std::string_view buf) const; + + private: + /// Driver handle. + std::shared_ptr driver_; }; } // namespace bci::abs