IRSOL
C++ code implementing socket server for interacting with Baumer camera.
inquiry_frame_rate.hpp
Go to the documentation of this file.
1
10#pragma once
11
13namespace irsol {
14namespace server {
15namespace handlers {
16
24{
25public:
30 InquiryFrameRateHandler(std::shared_ptr<Context> ctx);
31
32protected:
39 std::vector<out_message_t> process(
40 std::shared_ptr<irsol::server::ClientSession> session,
41 protocol::Inquiry&& message) final override;
42};
43}
44}
45}
Base handler templates for protocol message processing.
Handler for inquiry of the current frame rate parameter.
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.
Generic handler base class for protocol messages.
Definition base.hpp:39
std::shared_ptr< Context > ctx
Handler context (provides access to app and utilities).
Definition base.hpp:81
constexpr auto makeHandler(std::shared_ptr< Context > ctx, Args &&... args)
Constructs a handler instance of the given type.
Definition factory.hpp:28
Represents a value inquiry in the protocol.
Definition inquiry.hpp:32