66 static std::optional<InMessage>
parse(
const std::string& line);
Parses raw input strings into structured InMessage instances.
static internal::ParserResult< Inquiry > parseInquiry(const std::string &line)
Parses an inquiry message from a protocol line.
static irsol::types::protocol_value_t parseValue(const std::string &valueString)
Attempts to parse a raw value string into a typed protocol value.
static std::optional< InMessage > parse(const std::string &line)
Attempts to parse a single protocol input line into a structured InMessage.
static internal::ParserResult< Assignment > parseAssignment(const std::string &line)
Parses an assignment message from a protocol line.
static internal::ParserResult< Command > parseCommand(const std::string &line)
Parses a command message from a protocol line.
Wrapper for the result of a protocol parsing attempt.
std::variant< int, double, std::string > protocol_value_t
Variant type representing protocol values that can be one of several types.
Encapsulates the result of a protocol parsing operation.