##// END OF EJS Templates
Started PySide2 migration, builds with CMake and produces a working binary...
Started PySide2 migration, builds with CMake and produces a working binary Need to port all previous stuff from Pybind11 to PySide2/shboken Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1440:824c70b31e8a
r1477:70de8bd3d575
Show More
python_interpreter.h
24 lines | 705 B | text/x-c | CLexer
Added ultra preliminary version of python providers...
r1428 #include <TimeSeries.h>
#include <functional>
#include <iostream>
#include <memory>
class PythonInterpreter
{
public:
Added POC AMDA python impl and CDAWEB bits...
r1430 using provider_funct_t = std::function<std::shared_ptr<TimeSeries::ITimeSerie>(
std::vector<std::tuple<std::string, std::string>>&, double, double)>;
using product_t = std::tuple<std::string, std::vector<std::string>,
std::vector<std::pair<std::string, std::string>>>;
Added ultra preliminary version of python providers...
r1428 PythonInterpreter();
Added POC AMDA python impl and CDAWEB bits...
r1430 void add_register_callback(
std::function<void(const std::vector<product_t>&, provider_funct_t)> callback);
Added ultra preliminary version of python providers...
r1428 ~PythonInterpreter();
void eval(const std::string& file);
Amda, cdaweb and test python are now fully embedded in SciQLop...
r1440 void eval_str(const std::string &content);
Some more progress on Python Providers side, works with a simple request on CDAWeb....
r1429 void release();
Added ultra preliminary version of python providers...
r1428
private:
};