knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
utils.h File Reference
#include <boost/python.hpp>
#include <filesystem>
#include "PythonError.h"
#include "gil.h"
#include "with.h"
Include dependency graph for utils.h:

Go to the source code of this file.

Classes

class  knowrob::py::PyObj_wrap
 

Namespaces

 knowrob
 
 knowrob::py
 

Functions

template<typename R , typename... Args>
knowrob::py::call_method (PyObject *self, const char *method, Args... args)
 
template<typename R >
knowrob::py::call (const std::function< R()> &goal)
 
template<typename R >
knowrob::py::call_with_gil (const std::function< R()> &goal)
 
std::string knowrob::py::resolveModulePath (std::string_view modulePath)
 
std::string knowrob::py::addToSysPath (const std::filesystem::path &modulePath)
 
template<typename T >
void knowrob::py::createType ()