14std::vector<out_message_t>
19 auto& frameListeningState =
session->userData().frameListeningState;
20 auto frameRate = frameListeningState.gisParams.frameRate;
22 std::vector<out_message_t>
result;
Main server application managing client connections and camera streaming.
std::vector< out_message_t > process(std::shared_ptr< irsol::server::ClientSession > session, protocol::Inquiry &&message) final override
Processes an inquiry message to retrieve the current frame rate.
InquiryFrameRateHandler(std::shared_ptr< Context > ctx)
Constructs the InquiryFrameRateHandler.
Generic handler base class for protocol messages.
Declaration of the InquiryFrameRateHandler class.
Common portability and diagnostic macros for the irsol library.
#define IRSOL_MAYBE_UNUSED
Suppresses compiler warnings about unused variables or parameters.
constexpr auto makeHandler(std::shared_ptr< Context > ctx, Args &&... args)
Constructs a handler instance of the given type.
std::variant< int, double, std::string > protocol_value_t
Variant type representing protocol values that can be one of several types.
Represents a value inquiry in the protocol.
static Success from(const Assignment &msg, std::optional< irsol::types::protocol_value_t > overrideValue=std::nullopt)
Creates a success message from an Assignment.