Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ServerWrapper.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "ProgressMonitor.hh"
5 #include <boost/python/implicit.hpp>
6 
14 
16  public:
17  ServerWrapper();
18 
19  virtual void group(std::string name="") override;
20  virtual void progress(int n, int total) override;
21 
22  private:
23  boost::python::object server;
24  boost::python::object python_group, python_progress;
25 };
Definition: ProgressMonitor.hh:10
virtual void progress(int n, int total) override
Definition: ServerWrapper.cc:18
boost::python::object python_progress
Definition: ServerWrapper.hh:24
A class which enables access to a Python-side defined Server object with ProgressMonitor interface...
Definition: ServerWrapper.hh:15
virtual void group(std::string name="") override
Definition: ServerWrapper.cc:13
boost::python::object server
Definition: ServerWrapper.hh:23
boost::python::object python_group
Definition: ServerWrapper.hh:24
ServerWrapper()
Definition: ServerWrapper.cc:5