Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
capture_runner.h
Go to the documentation of this file.
1#pragma once
2
3#include <expected>
4#include <filesystem>
5#include <string>
6
9
10namespace mm {
11
14std::filesystem::path captureBinaryName();
15
25std::expected<std::filesystem::path, std::string> runCapture(const std::filesystem::path& binary,
26 const std::string& adapter,
27 int seconds,
28 const std::filesystem::path& dir);
29
30} // namespace mm
adapter
Definition config.h:230
Definition capture.h:14
std::expected< std::filesystem::path, std::string > runCapture(const std::filesystem::path &binary, const std::string &adapter, int seconds, const std::filesystem::path &dir)
Runs binary to record adapter for seconds into a new file under dir, and waits for it to exit.
Definition capture_runner.cc:50
std::filesystem::path captureBinaryName()
The file name of the capture program beside the server binary, with the platform's executable suffix.
Definition capture_runner.cc:42