IRSOL
C++ code implementing socket server for interacting with Baumer camera.
inquiry_integration_time.hpp
Go to the documentation of this file.
1
10#pragma once
11
13
14namespace irsol {
15namespace server {
16namespace handlers {
17
25{
26public:
31 InquiryIntegrationTimeHandler(std::shared_ptr<Context> ctx);
32
33protected:
40 std::vector<out_message_t> process(
41 std::shared_ptr<irsol::server::ClientSession> session,
42 protocol::Inquiry&& message) final override;
43};
44} // namespace handlers
45} // namespace server
46} // namespace irsol
Base handler templates for protocol message processing.
Handler for inquiry of the camera integration time (exposure).
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 integration time.
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