IRSOL
C++ code implementing socket server for interacting with Baumer camera.
assignment_input_sequence_length.hpp
Go to the documentation of this file.
1
10#pragma once
11
13
14namespace irsol {
15namespace server {
16namespace handlers {
17
26{
27public:
32 AssignmentInputSequenceLengthHandler(std::shared_ptr<Context> ctx);
33
34protected:
41 std::vector<out_message_t> process(
42 std::shared_ptr<irsol::server::ClientSession> session,
43 protocol::Assignment&& message) final override;
44};
45} // namespace handlers
46} // namespace server
47} // namespace irsol
Base handler templates for protocol message processing.
Handler for assignment of the input sequence length parameter isl.
std::vector< out_message_t > process(std::shared_ptr< irsol::server::ClientSession > session, protocol::Assignment &&message) final override
Processes an assignment message to set the input sequence length.
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 an assignment operation in the protocol.