STADLS
reinit_stack_entry.h
Go to the documentation of this file.
1 #pragma once
2 #include "stadls/vx/genpybind.h"
4 
6 
8 
9 GENPYBIND_MANUAL({
10  using namespace ::stadls::vx;
11 
12  pybind11::class_<ReinitStackEntry> wrapped(parent, "ReinitStackEntry");
13 
14  [[maybe_unused]] ::pyhxcomm::vx::reinit_stack_entry_unroll_helper<decltype(wrapped)> helper{
15  wrapped};
16 
17  wrapped.def("pop", &ReinitStackEntry::pop);
18  wrapped.def(
19  "set", &ReinitStackEntry::set, pybind11::arg("pbmem_request"),
20  pybind11::arg("pbmem_snapshot") = std::nullopt, pybind11::arg("enforce") = true);
21 })
22 
23 } // namespace stadls::vx::v2
void pop() SYMBOL_VISIBLE
void set(PlaybackProgram const &pbmem_request, std::optional< PlaybackProgram > const &pbmem_snapshot=std::nullopt, bool enforce=true) SYMBOL_VISIBLE
Set and maybe enforce reinit stack entry value.
#define GENPYBIND_TAG_STADLS_VX_V2
Definition: genpybind.h:5
::pyhxcomm::vx::reinit_stack_entry_unroll_helper< decltype(wrapped)> helper
stadls::vx::ReinitStackEntry ReinitStackEntry