40 std::vector<irsol::protocol::OutMessage>
validate(
42 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
52 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
62 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
Handler for the gi command (single frame acquisition).
double getFrameRate(const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override
Returns the frame rate for the gi command.
std::vector< irsol::protocol::OutMessage > validate(const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override
Validates the gi 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 gi command (always 1).
Base handler for frame acquisition commands (gi, gis).
std::shared_ptr< Context > ctx
Handler context (provides access to app and utilities).
Declaration of the CommandGIBaseHandler class.
constexpr auto makeHandler(std::shared_ptr< Context > ctx, Args &&... args)
Constructs a handler instance of the given type.
Represents a command invocation in the protocol.