rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModExmalif.hpp
Go to the documentation of this file.
1 #pragma once
2 // GENERATED, DO NOT MANUALLY MODIFY
3 // generator core v1.10
4 // specific generator: Python binding Hpp Generator v0.971
5 // source: /home/jenkins/workspace/ICS-daily-and-weekly/ifw-rad-daily/rad/cpp/_examples/exmalif/src/exmalif.xml
6 
7 #ifdef __GNUC__
8 #pragma GCC diagnostic push
9 #pragma GCC diagnostic ignored "-Wpedantic"
10 #endif
11 
12 #include <array>
13 #include <string>
14 #include <memory>
15 #include <vector>
16 #include <iostream>
17 #include <sstream>
18 #include <chrono>
19 #include <cstdint>
20 #include <stdexcept>
21 #include <exception>
22 #include <utility>
23 #include <mal/Cii.hpp>
24 #include <mal/ps/DataEntity.hpp>
25 #include <mal/Mal.hpp>
26 #include <mal/rr/Ami.hpp>
27 #include <mal/rr/ServerAmi.hpp>
28 #include <pymal/delegates/ps/DataEntityBaseDelegate.hpp>
29 #include <pymal/delegates/ps/DataEventFilterBaseDelegate.hpp>
30 #include <pymal/delegates/ps/PublisherDelegate.hpp>
31 #include <pymal/delegates/ps/InstancePublisherDelegate.hpp>
32 #include <pymal/delegates/ps/SubscriberDelegate.hpp>
33 #include <pymal/delegates/ps/LoanedDataEntityDelegate.hpp>
34 #include <pymal/delegates/ps/DataEventFilterDelegate.hpp>
35 #include <pymal/delegates/ps/DataEventDelegate.hpp>
36 #include <pymal/delegates/ps/SubscriptionDelegate.hpp>
37 #include <pymal/delegates/ps/MrvSubscriberDelegate.hpp>
38 #include <pymal/delegates/rr/ClientRrEntityBaseDelegate.hpp>
39 #include <pymal/delegates/rr/AmiBaseDelegate.hpp>
40 #include <pymal/delegates/rr/AmiDelegate.hpp>
41 #include <pymal/delegates/rr/ServerAmiDelegate.hpp>
42 #include <pymal/delegates/rr/ServerContextDelegate.hpp>
43 #include <pymal/delegates/FutureDelegate.hpp>
44 #include <pymal/delegates/FutureUtil.hpp>
45 
46 #include <Exmalif.hpp>
47 
48 #ifdef __GNUC__
49 #pragma GCC visibility push(hidden)
50 #endif
51 
52 #include <pymal/pybind11/pybind11.h> // NOLINT
53 #include <pymal/pybind11/chrono.h> // NOLINT
54 #include <pymal/pybind11/stl.h> // NOLINT
55 #include <pymal/pybind11/stl_bind.h> // NOLINT
56 #include <pymal/pybind11/functional.h> // NOLINT
57 
58 
59 namespace py = pybind11;
60 
61 
62 namespace exmalif {
63 
64 
65 
66 
67 // generated -1534276328
69  public virtual ::elt::mal::bindings::rr::ClientRrEntityBaseDelegate {
70  public:
71  StdCmdsSyncDelegate() = delete;
75 
76  explicit StdCmdsSyncDelegate(std::unique_ptr<StdCmdsSync> &other):
77  pStdCmdsSync(std::move(other)), rStdCmdsSync(*pStdCmdsSync) {}
78  explicit StdCmdsSyncDelegate(const StdCmdsSync& other):
79  pStdCmdsSync(nullptr), rStdCmdsSync(const_cast<StdCmdsSync&>(other)) {}
80 
81  // RrClientEntity interface
82 
83  void close() override { rStdCmdsSync.close(); }
84 
85  ::elt::mal::bindings::FutureDelegate<void> asyncConnect() override {
86  // Release GIL
87  py::gil_scoped_release release;
88  return ::elt::mal::bindings::FutureDelegate<void>(rStdCmdsSync.asyncConnect());
89  }
90 
91  ::elt::mal::rr::ListenerRegistration registerConnectionListener(
92  const ::elt::mal::rr::ClientRrEntity::ConnectionListener &listener) override {
93  return rStdCmdsSync.registerConnectionListener(listener);
94  }
95 
96  std::shared_ptr<::elt::mal::Mal> getMal() const override {
97  return rStdCmdsSync.getMal();
98  }
99 
100  // StdCmdsSync interface
101  std::string Stop() {
102  return rStdCmdsSync.Stop();
103  }
104 
105  std::string Init() {
106  return rStdCmdsSync.Init();
107  }
108 
109  std::string Reset() {
110  return rStdCmdsSync.Reset();
111  }
112 
113  std::string Enable() {
114  return rStdCmdsSync.Enable();
115  }
116 
117  std::string Disable() {
118  return rStdCmdsSync.Disable();
119  }
120 
121  std::string Status() {
122  return rStdCmdsSync.Status();
123  }
124 
125  std::string Config() {
126  return rStdCmdsSync.Config();
127  }
128 
129  std::string Exit() {
130  return rStdCmdsSync.Exit();
131  }
132 
133  std::string SetLogLevel(const std::shared_ptr<::exmalif::LogInfo>& info) {
134  return rStdCmdsSync.SetLogLevel(info);
135  }
136 
137  std::string Preset(const std::shared_ptr<::exmalif::TelPosition>& pos) {
138  return rStdCmdsSync.Preset(pos);
139  }
140 
141  std::string Move(const std::shared_ptr<::exmalif::AxesPosition>& pos) {
142  return rStdCmdsSync.Move(pos);
143  }
144 
145  std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate> GetPresetProgress() {
146  auto ami = rStdCmdsSync.GetPresetProgress();
147  if (ami) {
148  return std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate>(
149  new ::elt::mal::bindings::rr::AmiDelegate<std::string,
150  StdCmds>(ami));
151  }
152  return nullptr;
153  }
154 
155 
156  virtual ~StdCmdsSyncDelegate() = default;
157 
158  private:
159  std::unique_ptr<StdCmdsSync> pStdCmdsSync;
160  StdCmdsSync &rStdCmdsSync;
161 };
162 
163 
164 
166  public virtual ::elt::mal::bindings::rr::ClientRrEntityBaseDelegate {
167  public:
168  StdCmdsAsyncDelegate() = delete;
172 
173  explicit StdCmdsAsyncDelegate(std::unique_ptr<StdCmdsAsync> &other):
174  pStdCmdsAsync(std::move(other)), rStdCmdsAsync(*pStdCmdsAsync) {}
175  explicit StdCmdsAsyncDelegate(const StdCmdsAsync& other):
176  pStdCmdsAsync(nullptr), rStdCmdsAsync(const_cast<StdCmdsAsync&>(other)) {}
177 
178  // RrClientEntity interface
179 
180  void close() override { rStdCmdsAsync.close(); }
181 
182  ::elt::mal::bindings::FutureDelegate<void> asyncConnect() override {
183  // Release GIL
184  py::gil_scoped_release release;
185  return ::elt::mal::bindings::FutureDelegate<void>(rStdCmdsAsync.asyncConnect());
186  }
187 
188  ::elt::mal::rr::ListenerRegistration registerConnectionListener(
189  const ::elt::mal::rr::ClientRrEntity::ConnectionListener &listener) override {
190  return rStdCmdsAsync.registerConnectionListener(listener);
191  }
192 
193  std::shared_ptr<::elt::mal::Mal> getMal() const override {
194  return rStdCmdsAsync.getMal();
195  }
196 
197  // StdCmdsAsync interface
198  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
199  Stop() {
200  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
201  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
202  rStdCmdsAsync.Stop()));
203  }
204 
205  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
206  Init() {
207  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
208  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
209  rStdCmdsAsync.Init()));
210  }
211 
212  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
213  Reset() {
214  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
215  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
216  rStdCmdsAsync.Reset()));
217  }
218 
219  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
220  Enable() {
221  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
222  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
223  rStdCmdsAsync.Enable()));
224  }
225 
226  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
228  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
229  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
230  rStdCmdsAsync.Disable()));
231  }
232 
233  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
234  Status() {
235  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
236  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
237  rStdCmdsAsync.Status()));
238  }
239 
240  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
241  Config() {
242  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
243  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
244  rStdCmdsAsync.Config()));
245  }
246 
247  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
248  Exit() {
249  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
250  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
251  rStdCmdsAsync.Exit()));
252  }
253 
254  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
255  SetLogLevel(const std::shared_ptr<::exmalif::LogInfo>& info) {
256  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
257  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
258  rStdCmdsAsync.SetLogLevel(info)));
259  }
260 
261  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
262  Preset(const std::shared_ptr<::exmalif::TelPosition>& pos) {
263  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
264  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
265  rStdCmdsAsync.Preset(pos)));
266  }
267 
268  std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>
269  Move(const std::shared_ptr<::exmalif::AxesPosition>& pos) {
270  return std::unique_ptr<::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>>(
271  new ::elt::mal::bindings::FutureDelegate<std::string, ::exmalif::StdCmds>(
272  rStdCmdsAsync.Move(pos)));
273  }
274 
275  std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate> GetPresetProgress() {
276  auto ami = rStdCmdsAsync.GetPresetProgress();
277  if (ami) {
278  return std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate>(
279  new ::elt::mal::bindings::rr::AmiDelegate<std::string,
280  StdCmds>(ami));
281  }
282  return nullptr;
283  }
284 
285 
286  virtual ~StdCmdsAsyncDelegate() = default;
287 
288  private:
289  std::unique_ptr<StdCmdsAsync> pStdCmdsAsync;
290  StdCmdsAsync &rStdCmdsAsync;
291 };
292 
293 
294 class StdCmdsImpl: public virtual StdCmds {
295  public:
296  explicit StdCmdsImpl(py::object &pyImpl): mPyImpl(pyImpl) {}
297  std::string Stop() {
298  py::gil_scoped_acquire acquire;
299  auto pyresult = mPyImpl.attr("Stop")();
300  return pyresult.cast<std::string>();
301  }
302  std::string Init() {
303  py::gil_scoped_acquire acquire;
304  auto pyresult = mPyImpl.attr("Init")();
305  return pyresult.cast<std::string>();
306  }
307  std::string Reset() {
308  py::gil_scoped_acquire acquire;
309  auto pyresult = mPyImpl.attr("Reset")();
310  return pyresult.cast<std::string>();
311  }
312  std::string Enable() {
313  py::gil_scoped_acquire acquire;
314  auto pyresult = mPyImpl.attr("Enable")();
315  return pyresult.cast<std::string>();
316  }
317  std::string Disable() {
318  py::gil_scoped_acquire acquire;
319  auto pyresult = mPyImpl.attr("Disable")();
320  return pyresult.cast<std::string>();
321  }
322  std::string Status() {
323  py::gil_scoped_acquire acquire;
324  auto pyresult = mPyImpl.attr("Status")();
325  return pyresult.cast<std::string>();
326  }
327  std::string Config() {
328  py::gil_scoped_acquire acquire;
329  auto pyresult = mPyImpl.attr("Config")();
330  return pyresult.cast<std::string>();
331  }
332  std::string Exit() {
333  py::gil_scoped_acquire acquire;
334  auto pyresult = mPyImpl.attr("Exit")();
335  return pyresult.cast<std::string>();
336  }
337  std::string SetLogLevel(const std::shared_ptr<::exmalif::LogInfo>& info) {
338  py::gil_scoped_acquire acquire;
339  auto pyresult = mPyImpl.attr("SetLogLevel")(info);
340  return pyresult.cast<std::string>();
341  }
342  std::string Preset(const std::shared_ptr<::exmalif::TelPosition>& pos) {
343  py::gil_scoped_acquire acquire;
344  auto pyresult = mPyImpl.attr("Preset")(pos);
345  return pyresult.cast<std::string>();
346  }
347  std::string Move(const std::shared_ptr<::exmalif::AxesPosition>& pos) {
348  py::gil_scoped_acquire acquire;
349  auto pyresult = mPyImpl.attr("Move")(pos);
350  return pyresult.cast<std::string>();
351  }
352  std::shared_ptr<::elt::mal::rr::Ami<std::string>>
353  GetPresetProgress() override {
354  py::gil_scoped_acquire acquire;
355  auto pyresult = mPyImpl.attr("GetPresetProgress")();
356  ::elt::mal::bindings::rr::ServerAmiDelegate<std::string, StdCmds> &serverAmi =
357  pyresult.cast<::elt::mal::bindings::rr::ServerAmiDelegate<std::string, StdCmds>&>();
358  return serverAmi.getAmi();
359  }
360 
361 
362  private:
363  py::object mPyImpl;
364 
365 };
366 
367 
368 
369 class AsyncStdCmdsImpl: public virtual AsyncStdCmds {
370  public:
371  explicit AsyncStdCmdsImpl(py::object &pyImpl): mPyImpl(pyImpl) {}
372  ::elt::mal::future<std::string> Stop() {
373  py::gil_scoped_acquire acquire;
374  auto pyresult = mPyImpl.attr("Stop")();
375  ::elt::mal::future<std::string> result =
376  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
377  return result;
378  }
379  ::elt::mal::future<std::string> Init() {
380  py::gil_scoped_acquire acquire;
381  auto pyresult = mPyImpl.attr("Init")();
382  ::elt::mal::future<std::string> result =
383  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
384  return result;
385  }
386  ::elt::mal::future<std::string> Reset() {
387  py::gil_scoped_acquire acquire;
388  auto pyresult = mPyImpl.attr("Reset")();
389  ::elt::mal::future<std::string> result =
390  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
391  return result;
392  }
393  ::elt::mal::future<std::string> Enable() {
394  py::gil_scoped_acquire acquire;
395  auto pyresult = mPyImpl.attr("Enable")();
396  ::elt::mal::future<std::string> result =
397  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
398  return result;
399  }
400  ::elt::mal::future<std::string> Disable() {
401  py::gil_scoped_acquire acquire;
402  auto pyresult = mPyImpl.attr("Disable")();
403  ::elt::mal::future<std::string> result =
404  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
405  return result;
406  }
407  ::elt::mal::future<std::string> Status() {
408  py::gil_scoped_acquire acquire;
409  auto pyresult = mPyImpl.attr("Status")();
410  ::elt::mal::future<std::string> result =
411  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
412  return result;
413  }
414  ::elt::mal::future<std::string> Config() {
415  py::gil_scoped_acquire acquire;
416  auto pyresult = mPyImpl.attr("Config")();
417  ::elt::mal::future<std::string> result =
418  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
419  return result;
420  }
421  ::elt::mal::future<std::string> Exit() {
422  py::gil_scoped_acquire acquire;
423  auto pyresult = mPyImpl.attr("Exit")();
424  ::elt::mal::future<std::string> result =
425  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
426  return result;
427  }
428  ::elt::mal::future<std::string> SetLogLevel(const std::shared_ptr<::exmalif::LogInfo>& info) {
429  py::gil_scoped_acquire acquire;
430  auto pyresult = mPyImpl.attr("SetLogLevel")(info);
431  ::elt::mal::future<std::string> result =
432  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
433  return result;
434  }
435  ::elt::mal::future<std::string> Preset(const std::shared_ptr<::exmalif::TelPosition>& pos) {
436  py::gil_scoped_acquire acquire;
437  auto pyresult = mPyImpl.attr("Preset")(pos);
438  ::elt::mal::future<std::string> result =
439  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
440  return result;
441  }
442  ::elt::mal::future<std::string> Move(const std::shared_ptr<::exmalif::AxesPosition>& pos) {
443  py::gil_scoped_acquire acquire;
444  auto pyresult = mPyImpl.attr("Move")(pos);
445  ::elt::mal::future<std::string> result =
446  ::elt::mal::bindings::pyFutToMal<std::string>(pyresult);
447  return result;
448  }
449  std::shared_ptr<::elt::mal::rr::Ami<std::string>>
450  GetPresetProgress() override {
451  py::gil_scoped_acquire acquire;
452  auto pyresult = mPyImpl.attr("GetPresetProgress")();
453  ::elt::mal::bindings::rr::ServerAmiDelegate<std::string, StdCmds> &serverAmi =
454  pyresult.cast<::elt::mal::bindings::rr::ServerAmiDelegate<std::string, StdCmds>&>();
455  return serverAmi.getAmi();
456  }
457 
458  private:
459  py::object mPyImpl;
460 
461 };
462 
463 } // exmalif
464 
465 
466 #ifndef ICD_GEN_ARRAY_1632905179_HPP_
467 #define ICD_GEN_ARRAY_1632905179_HPP_
468  PYBIND11_MAKE_OPAQUE(std::vector<std::shared_ptr<::exmalif::TelPosition>>);
469 #endif
470 
471 #ifndef ICD_GEN_ARRAY_1286306241_HPP_
472 #define ICD_GEN_ARRAY_1286306241_HPP_
473  PYBIND11_MAKE_OPAQUE(std::vector<std::shared_ptr<::exmalif::AxesPosition>>);
474 #endif
475 
476 #ifndef ICD_GEN_ARRAY_1574765012_HPP_
477 #define ICD_GEN_ARRAY_1574765012_HPP_
478  PYBIND11_MAKE_OPAQUE(std::vector<std::shared_ptr<::exmalif::LogInfo>>);
479 #endif
480 
481 // GENERATED MODULE END
482 
483 #ifdef __GNUC__
484 #pragma GCC visibility pop
485 #pragma GCC diagnostic pop
486 #endif
Definition: Exmalif.hpp:118
std::string Exit()
Definition: ModExmalif.hpp:332
::elt::mal::future< std::string > Stop()
Definition: ModExmalif.hpp:372
std::string Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)
Definition: ModExmalif.hpp:347
std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate > GetPresetProgress()
Definition: ModExmalif.hpp:275
AsyncStdCmdsImpl(py::object &pyImpl)
Definition: ModExmalif.hpp:371
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Config()
Definition: ModExmalif.hpp:241
Definition: ModExmalif.hpp:369
std::string Config()
Definition: ModExmalif.hpp:125
virtual ::elt::mal::future< std::string > SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)=0
virtual ~StdCmdsAsyncDelegate()=default
virtual std::string Status()=0
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Disable()
Definition: ModExmalif.hpp:227
::elt::mal::future< std::string > Init()
Definition: ModExmalif.hpp:379
virtual std::shared_ptr<::elt::mal::rr::Ami< std::string > > GetPresetProgress()=0
Definition: ModExmalif.hpp:294
Definition: Exmalif.hpp:140
virtual std::shared_ptr<::elt::mal::rr::Ami< std::string > > GetPresetProgress()=0
::elt::mal::future< std::string > Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)
Definition: ModExmalif.hpp:435
virtual ::elt::mal::future< std::string > Enable()=0
::elt::mal::rr::ListenerRegistration registerConnectionListener(const ::elt::mal::rr::ClientRrEntity::ConnectionListener &listener) override
Definition: ModExmalif.hpp:91
std::string Stop()
Definition: ModExmalif.hpp:297
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Stop()
Definition: ModExmalif.hpp:199
virtual std::string Config()=0
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Init()
Definition: ModExmalif.hpp:206
std::string Disable()
Definition: ModExmalif.hpp:117
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)
Definition: ModExmalif.hpp:269
std::string Exit()
Definition: ModExmalif.hpp:129
virtual ::elt::mal::future< std::string > Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)=0
std::string Init()
Definition: ModExmalif.hpp:105
std::shared_ptr<::elt::mal::rr::Ami< std::string > > GetPresetProgress() override
Definition: ModExmalif.hpp:450
std::string SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)
Definition: ModExmalif.hpp:133
::elt::mal::future< std::string > Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)
Definition: ModExmalif.hpp:442
std::string Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)
Definition: ModExmalif.hpp:342
std::string Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)
Definition: ModExmalif.hpp:141
std::unique_ptr<::elt::mal::bindings::rr::AmiBaseDelegate > GetPresetProgress()
Definition: ModExmalif.hpp:145
virtual ::elt::mal::future< std::string > Config()=0
virtual std::string Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)=0
StdCmdsAsyncDelegate(const StdCmdsAsync &other)
Definition: ModExmalif.hpp:175
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Status()
Definition: ModExmalif.hpp:234
Definition: ModExmalif.hpp:68
::elt::mal::future< std::string > Exit()
Definition: ModExmalif.hpp:421
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Exit()
Definition: ModExmalif.hpp:248
virtual std::string SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)=0
::elt::mal::future< std::string > Enable()
Definition: ModExmalif.hpp:393
std::string Reset()
Definition: ModExmalif.hpp:109
StdCmdsSyncDelegate(const StdCmdsSync &other)
Definition: ModExmalif.hpp:78
StdCmdsSyncDelegate(std::unique_ptr< StdCmdsSync > &other)
Definition: ModExmalif.hpp:76
std::string Stop()
Definition: ModExmalif.hpp:101
::elt::mal::rr::ListenerRegistration registerConnectionListener(const ::elt::mal::rr::ClientRrEntity::ConnectionListener &listener) override
Definition: ModExmalif.hpp:188
virtual ::elt::mal::future< std::string > Disable()=0
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Enable()
Definition: ModExmalif.hpp:220
std::string Status()
Definition: ModExmalif.hpp:322
std::shared_ptr<::elt::mal::Mal > getMal() const override
Definition: ModExmalif.hpp:96
std::string Status()
Definition: ModExmalif.hpp:121
PYBIND11_MAKE_OPAQUE(std::vector< std::shared_ptr<::exmalif::TelPosition >>)
std::string Config()
Definition: ModExmalif.hpp:327
Definition: Exmalif.hpp:162
virtual std::string Stop()=0
virtual ::elt::mal::future< std::string > Exit()=0
StdCmdsAsyncDelegate & operator=(const StdCmdsAsyncDelegate &)=delete
::elt::mal::future< std::string > Disable()
Definition: ModExmalif.hpp:400
::elt::mal::future< std::string > Reset()
Definition: ModExmalif.hpp:386
Definition: ModExmalif.hpp:165
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Reset()
Definition: ModExmalif.hpp:213
::elt::mal::future< std::string > Config()
Definition: ModExmalif.hpp:414
virtual std::string Disable()=0
virtual ::elt::mal::future< std::string > Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)=0
void close() override
Definition: ModExmalif.hpp:180
package generated zpb exmalif
Definition: exmalif.proto:11
::elt::mal::future< std::string > Status()
Definition: ModExmalif.hpp:407
::elt::mal::bindings::FutureDelegate< void > asyncConnect() override
Definition: ModExmalif.hpp:85
std::shared_ptr<::elt::mal::rr::Ami< std::string > > GetPresetProgress() override
Definition: ModExmalif.hpp:353
::elt::mal::bindings::FutureDelegate< void > asyncConnect() override
Definition: ModExmalif.hpp:182
string release
Definition: conf.py:79
virtual std::string Exit()=0
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)
Definition: ModExmalif.hpp:262
std::string Enable()
Definition: ModExmalif.hpp:312
virtual ::elt::mal::future< std::string > Reset()=0
virtual std::string Enable()=0
virtual ::elt::mal::future< std::string > Status()=0
::elt::mal::future< std::string > SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)
Definition: ModExmalif.hpp:428
StdCmdsAsyncDelegate(std::unique_ptr< StdCmdsAsync > &other)
Definition: ModExmalif.hpp:173
std::unique_ptr<::elt::mal::bindings::FutureDelegate< std::string,::exmalif::StdCmds > > SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)
Definition: ModExmalif.hpp:255
std::shared_ptr<::elt::mal::Mal > getMal() const override
Definition: ModExmalif.hpp:193
virtual ~StdCmdsSyncDelegate()=default
StdCmdsSyncDelegate & operator=(const StdCmdsSyncDelegate &)=delete
void close() override
Definition: ModExmalif.hpp:83
StdCmdsImpl(py::object &pyImpl)
Definition: ModExmalif.hpp:296
std::string Preset(const std::shared_ptr<::exmalif::TelPosition > &pos)
Definition: ModExmalif.hpp:137
virtual std::string Reset()=0
std::string Init()
Definition: ModExmalif.hpp:302
virtual ::elt::mal::future< std::string > Stop()=0
virtual std::string Move(const std::shared_ptr<::exmalif::AxesPosition > &pos)=0
std::string Reset()
Definition: ModExmalif.hpp:307
std::string Enable()
Definition: ModExmalif.hpp:113
virtual ::elt::mal::future< std::string > Init()=0
std::string Disable()
Definition: ModExmalif.hpp:317
std::string SetLogLevel(const std::shared_ptr<::exmalif::LogInfo > &info)
Definition: ModExmalif.hpp:337
Definition: Exmalif.hpp:168
virtual std::string Init()=0