40 std::vector<irsol::protocol::OutMessage>
validate(
42 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
54 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
65 std::shared_ptr<irsol::server::ClientSession>
session)
const override;
Handler for the gis command (sequence frame acquisition).
double getFrameRate(const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override
Returns the frame rate for the gis command.
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.
std::vector< irsol::protocol::OutMessage > validate(const protocol::Command &message, std::shared_ptr< irsol::server::ClientSession > session) const override
Validates the gis command parameters.
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.