Skip to content

Commit

Permalink
ScpiClient: make utilities protected
Browse files Browse the repository at this point in the history
  • Loading branch information
willeccles committed May 30, 2024
1 parent 18a49da commit e049e26
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions include/bci/abs/ScpiClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -1248,10 +1248,7 @@ class ScpiClient {
*/
Result<unsigned int> MeasureAllDigitalInputsMasked() const;

private:
/// Driver handle.
std::shared_ptr<drivers::CommDriver> driver_;

protected:
/**
* @brief Send a message to the ABS. Checks for driver validity.
*
Expand All @@ -1270,6 +1267,10 @@ class ScpiClient {
* @return Result containing the response or an error code.
*/
Result<std::string> SendAndRecv(std::string_view buf) const;

private:
/// Driver handle.
std::shared_ptr<drivers::CommDriver> driver_;
};

} // namespace bci::abs
Expand Down

0 comments on commit e049e26

Please sign in to comment.