22 template <
typename Connection>
33 template <
typename Connection>
44 template <
typename Connection>
45 RunTimeInfo run(Connection& connection, std::shared_ptr<fisch::vx::PlaybackProgram>
const& program);
49 #if defined(__GENPYBIND__) or defined(__GENPYBIND_GENERATED__)
51 #include <pybind11/pybind11.h>
52 #include "pyhxcomm/vx/connection_handle.h"
58 template <
typename... Ts>
59 struct RunUnrollPyBind11Helper
61 RunUnrollPyBind11Helper(pybind11::module&){};
64 template <
typename T,
typename... Ts>
65 struct RunUnrollPyBind11Helper<std::variant<T, Ts...>>
66 : RunUnrollPyBind11Helper<std::variant<Ts...>>
68 using parent_t = RunUnrollPyBind11Helper<std::variant<Ts...>>;
70 RunUnrollPyBind11Helper(pybind11::module& m) : parent_t(m)
73 return ::stadls::vx::run<T>(conn, prog);
75 m.def(
"run", [](T& conn, std::shared_ptr<::fisch::vx::PlaybackProgram>
const& prog) {
76 return ::stadls::vx::run<T>(conn, prog);
86 #include "stadls/vx/run.tcc"
Sequential stream of executable instructions for the executor and result-container for event response...
#define GENPYBIND_TAG_STADLS_VX
stadls::vx::PlaybackProgram PlaybackProgram
RunTimeInfo run(Connection &, PlaybackProgram &)
Transfer and execute the given playback program and fetch results.
fisch::vx::RunTimeInfo RunTimeInfo