![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Handler for the gis
command (sequence frame acquisition).
More...
#include <command_gis.hpp>
Public Member Functions | |
CommandGISHandler (std::shared_ptr< Context > ctx) | |
Constructs the CommandGISHandler. | |
![]() | |
CommandGIBaseHandler (std::shared_ptr< Context > ctx) | |
Constructs the CommandGIBaseHandler. | |
![]() | |
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. | |
Private Member Functions | |
std::vector< irsol::protocol::OutMessage > | validate (const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override |
Validates the gis command parameters. | |
uint64_t | getInputSequenceLength (const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override |
Returns the input sequence length for the gis command. | |
double | getFrameRate (const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override |
Returns the frame rate for the gis command. | |
Additional Inherited Members | |
![]() | |
std::vector< out_message_t > | process (std::shared_ptr< irsol::server::ClientSession > session, protocol::Command &&message) final override |
Processes a frame acquisition command, starting the frame collection thread. | |
![]() | |
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. | |
![]() | |
std::shared_ptr< Context > | ctx |
Handler context (provides access to app and utilities). | |
Handler for the gis
command (sequence frame acquisition).
Processes the gis
command to acquire a sequence of frames from the camera.
Definition at line 24 of file command_gis.hpp.
irsol::server::handlers::CommandGISHandler::CommandGISHandler | ( | std::shared_ptr< Context > | ctx | ) |
Constructs the CommandGISHandler.
ctx | Handler context. |
Definition at line 9 of file command_gis.cpp.
|
overrideprivatevirtual |
Returns the frame rate for the gis
command.
message | The command message. |
session | The client session. |
Implements irsol::server::handlers::internal::CommandGIBaseHandler.
Definition at line 46 of file command_gis.cpp.
|
overrideprivatevirtual |
Returns the input sequence length for the gis
command.
message | The command message. |
session | The client session. |
Implements irsol::server::handlers::internal::CommandGIBaseHandler.
Definition at line 38 of file command_gis.cpp.
|
overrideprivatevirtual |
Validates the gis
command parameters.
message | The command message. |
session | The client session. |
Implements irsol::server::handlers::internal::CommandGIBaseHandler.
Definition at line 14 of file command_gis.cpp.