RobWorkProject  23.9.11-
Public Member Functions | List of all members
PythonRunner Class Reference

a class for running multiple python environments in a threadsafe manner More...

#include <PythonRunner.hpp>

Public Member Functions

 PythonRunner ()
 construct a Python interpretor
 
 ~PythonRunner ()
 destruct the python interpertor
 
int runCode (std::string code)
 run code with python lock More...
 

Detailed Description

a class for running multiple python environments in a threadsafe manner

Member Function Documentation

◆ runCode()

int runCode ( std::string  code)

run code with python lock

Parameters
code[in] python code to be run
Returns
0 if succesfull

The documentation for this class was generated from the following file: