![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Represents a value inquiry in the protocol. More...
#include <inquiry.hpp>
Public Member Functions | |
| Inquiry (const std::string &identifier) | |
| Constructs an Inquiry. | |
| std::string | toString () const |
| Converts the inquiry to a human-readable string. | |
Public Attributes | |
| std::string | identifier |
| The identifier whose value is being requested. | |
Represents a value inquiry in the protocol.
An inquiry consists of an identifier and is used to request the current value associated with that identifier. Typically corresponds to input like x?.
Can be stored in a irsol::protocol::InMessage variant.
Definition at line 31 of file inquiry.hpp.
| irsol::protocol::Inquiry::Inquiry | ( | const std::string & | identifier | ) |
Constructs an Inquiry.
| identifier | The identifier string; must start with a character and contain alphanumeric characters or underscores. |
Definition at line 9 of file inquiry.cpp.
| std::string irsol::protocol::Inquiry::toString | ( | ) | const |
Converts the inquiry to a human-readable string.
Definition at line 13 of file inquiry.cpp.
| std::string irsol::protocol::Inquiry::identifier |
The identifier whose value is being requested.
Definition at line 41 of file inquiry.hpp.