HOPS
HOPS class reference
MHO_PyOperator.hh
Go to the documentation of this file.
1 #ifndef MHO_PyOperator_HH__
2 #define MHO_PyOperator_HH__
3 
4 #include <pybind11/numpy.h> //this is important to have for std::complex<T> support!
5 #include <pybind11/pybind11.h>
6 namespace py = pybind11;
7 
8 #include "MHO_Operator.hh"
9 
10 namespace hops
11 {
12 
22 {
23  public:
25 
26  virtual bool Initialize() override { PYBIND11_OVERLOAD_PURE(bool, MHO_Operator, Initialize); }
27 
28  virtual bool Execute() override { PYBIND11_OVERLOAD_PURE(bool, MHO_Operator, Execute); }
29 
30  private:
31 };
32 
33 } // namespace hops
34 
35 #endif
Class MHO_Operator.
Definition: MHO_Operator.hh:21
MHO_Operator()
Definition: MHO_Operator.cc:7
trampoline for generic data operator
Definition: MHO_PyOperator.hh:22
virtual bool Execute() override
Function Execute.
Definition: MHO_PyOperator.hh:28
virtual bool Initialize() override
Function Initialize.
Definition: MHO_PyOperator.hh:26
Definition: MHO_ChannelLabeler.hh:17