IRSOL
C++ code implementing socket server for interacting with Baumer camera.
inquiry.cpp
Go to the documentation of this file.
2
4
5#include <sstream>
6
7namespace irsol {
8namespace protocol {
9Inquiry::Inquiry(const std::string& identifier): identifier(utils::validateIdentifier(identifier))
10{}
11
12std::string
14{
15 std::ostringstream oss;
16 oss << "Inquiry{"
17 << "identifier: '" << identifier << "'}";
18 return oss.str();
19}
20} // namespace protocol
21} // namespace irsol
Protocol inquiry representation.
Utility functions for protocol string handling and validation in the irsol library.
Inquiry(const std::string &identifier)
Constructs an Inquiry.
Definition inquiry.cpp:9
std::string toString() const
Converts the inquiry to a human-readable string.
Definition inquiry.cpp:13
std::string identifier
The identifier whose value is being requested.
Definition inquiry.hpp:41