STADLS
reinit_stack_entry.h
Go to the documentation of this file.
1 #pragma once
2 #include "hate/visibility.h"
3 #include "stadls/vx/genpybind.h"
5 #include <memory>
6 #include <optional>
7 
9 
11 {
12 public:
13  ReinitStackEntry() = delete;
14  template <typename Connection>
15  ReinitStackEntry(Connection& connection);
19  ~ReinitStackEntry() SYMBOL_VISIBLE;
20 
34  void set(
35  PlaybackProgram const& pbmem_request,
36  std::optional<PlaybackProgram> const& pbmem_snapshot = std::nullopt,
37  bool enforce = true) SYMBOL_VISIBLE;
38 
39  void enforce() SYMBOL_VISIBLE;
40 
41  void pop() SYMBOL_VISIBLE;
42 
43 private:
44  class Impl;
45  std::unique_ptr<Impl> m_impl;
46 };
47 
48 } // namespace stadls::vx
49 
50 #include "stadls/vx/reinit_stack_entry.tcc"
Sequential stream of executable instructions for the executor and result-container for event response...
void pop() SYMBOL_VISIBLE
ReinitStackEntry & operator=(ReinitStackEntry &&)=default
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.
ReinitStackEntry()=delete
ReinitStackEntry(Connection &connection)
ReinitStackEntry(ReinitStackEntry &&)=default
~ReinitStackEntry() SYMBOL_VISIBLE
ReinitStackEntry(ReinitStackEntry const &)=delete
void enforce() SYMBOL_VISIBLE
#define GENPYBIND_TAG_STADLS_VX
Definition: genpybind.h:4