/** * \brief retrieve the most recent image from the guider */ void guidercommand::image(GuiderWrapper& guider, const std::vector<std::string>& arguments) { if (arguments.size() < 3) { throw std::runtime_error("missing imageid argument"); } std::string imageid = arguments[2]; Astro::Image_ptr image = guider->mostRecentImage(); Images images; images.assign(imageid, image); }