![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Base handler template for inquiring a camera image region parameter. More...
#include <inquiry_image_size.hpp>
Public Member Functions | |
| InquiryImgHandlerBase (std::shared_ptr< Context > ctx) | |
| Constructs the handler. | |
Public Member Functions inherited from irsol::server::handlers::internal::HandlerBase< T, > | |
| 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::Inquiry &&message) final override |
| Processes an inquiry message to retrieve the camera image parameter. | |
Protected Member Functions inherited from irsol::server::handlers::internal::HandlerBase< T, > | |
| 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 = InquiryCameraImageAttribute::name |
Additional Inherited Members | |
Protected Attributes inherited from irsol::server::handlers::internal::HandlerBase< T, > | |
| std::shared_ptr< Context > | ctx |
| Handler context (provides access to app and utilities). | |
Base handler template for inquiring a camera image region parameter.
| InquiryCameraImageAttribute | Tag type specifying the parameter name. |
Handles inquiry messages to retrieve a specific camera image region parameter.
Definition at line 62 of file inquiry_image_size.hpp.
|
inline |
Constructs the handler.
| ctx | Handler context. |
Definition at line 71 of file inquiry_image_size.hpp.
|
inlinefinaloverrideprotected |
Processes an inquiry message to retrieve the camera image parameter.
| session | The client session. |
| message | The inquiry message. |
Definition at line 80 of file inquiry_image_size.hpp.
|
staticconstexprprivate |
Definition at line 64 of file inquiry_image_size.hpp.