![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Handler for aborting ongoing operations for a client session. More...
#include <command_abort.hpp>
Public Member Functions | |
| CommandAbortHandler (std::shared_ptr< Context > ctx) | |
| Constructs the CommandAbortHandler. | |
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 (std::shared_ptr< irsol::server::ClientSession > session, irsol::protocol::Command &&message) final override |
| Processes an abort command. | |
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. | |
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). | |
Handler for aborting ongoing operations for a client session.
Processes abort commands to stop frame collection gis.
Definition at line 22 of file command_abort.hpp.
| irsol::server::handlers::CommandAbortHandler::CommandAbortHandler | ( | std::shared_ptr< Context > | ctx | ) |
Constructs the CommandAbortHandler.
| ctx | Handler context. |
Definition at line 9 of file command_abort.cpp.
|
finaloverrideprotected |
Processes an abort command.
| session | The client session. |
| message | The abort command message. |
Definition at line 12 of file command_abort.cpp.