![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Base handler template for assigning a camera image region parameter. More...
#include <assignment_image_size.hpp>
Public Member Functions | |
AssignmentImgHandlerBase (std::shared_ptr< Context > ctx) | |
Constructs the handler. | |
![]() | |
virtual std::vector< out_message_t > | operator() (const irsol::types::client_id_t &clientId, T &&message) |
Invokes the handler for a given client and message. | |
Protected Member Functions | |
std::vector< out_message_t > | process (IRSOL_MAYBE_UNUSED std::shared_ptr< irsol::server::ClientSession > session, protocol::Assignment &&message) final override |
Processes an assignment message to set the camera image parameter. | |
![]() | |
HandlerBase (std::shared_ptr< Context > ctx) | |
Constructs the handler base. | |
virtual std::vector< out_message_t > | process (std::shared_ptr< irsol::server::ClientSession > session, T &&message)=0 |
Processes the protocol message for the given session. | |
Static Private Attributes | |
static constexpr std::string_view | name = AssignmentCameraImageAttribute::name |
Additional Inherited Members | |
![]() | |
std::shared_ptr< Context > | ctx |
Handler context (provides access to app and utilities). | |
Base handler template for assigning a camera image region parameter.
AssignmentCameraImageAttribute | Tag type specifying the parameter name. |
Handles assignment messages to set a specific camera image region parameter.
Definition at line 64 of file assignment_image_size.hpp.
|
inline |
Constructs the handler.
ctx | Handler context. |
Definition at line 73 of file assignment_image_size.hpp.
|
inlinefinaloverrideprotected |
Processes an assignment message to set the camera image parameter.
session | The client session. |
message | The assignment message. |
Definition at line 82 of file assignment_image_size.hpp.
|
staticconstexprprivate |
Definition at line 66 of file assignment_image_size.hpp.