![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Handler for assignment of the frame rate parameter. More...
#include <assignment_frame_rate.hpp>
Public Member Functions | |
AssignmentFrameRateHandler (std::shared_ptr< Context > ctx) | |
Constructs the AssignmentFrameRateHandler. | |
![]() | |
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 (std::shared_ptr< irsol::server::ClientSession > session, protocol::Assignment &&message) final override |
Processes an assignment message to set the frame rate. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< Context > | ctx |
Handler context (provides access to app and utilities). | |
Handler for assignment of the frame rate parameter.
Processes assignment messages to set the frame rate for frame collection in a client session.
Definition at line 24 of file assignment_frame_rate.hpp.
irsol::server::handlers::AssignmentFrameRateHandler::AssignmentFrameRateHandler | ( | std::shared_ptr< Context > | ctx | ) |
Constructs the AssignmentFrameRateHandler.
ctx | Handler context. |
Definition at line 9 of file assignment_frame_rate.cpp.
|
finaloverrideprotected |
Processes an assignment message to set the frame rate.
session | The client session. |
message | The assignment message. |
Definition at line 14 of file assignment_frame_rate.cpp.