VISR  0.12.0
Versatile Interactive Scene Renderer
load_module.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_LIBPYTHONSUPPORT_LOAD_MODULE_HPP_INCLUDED
4 #define VISR_LIBPYTHONSUPPORT_LOAD_MODULE_HPP_INCLUDED
5 
6 #include "export_symbols.hpp"
7 
8 #include <string>
9 #include <vector>
10 
11 namespace pybind11
12 {
13 class object;
14 }
15 
16 namespace visr
17 {
18 namespace pythonsupport
19 {
20 
30 VISR_PYTHONSUPPORT_LIBRARY_SYMBOL
31 pybind11::object loadModule( std::string const & moduleName,
32  std::vector<std::string> const & modulePath,
33  pybind11::object & globals);
34 
44 VISR_PYTHONSUPPORT_LIBRARY_SYMBOL
45 pybind11::object loadModule( std::string const & moduleName,
46  std::vector<std::string> const & modulePath,
47  std::vector<std::string> const & additionalSystemPath,
48  pybind11::object & globals);
49 
50 
63 VISR_PYTHONSUPPORT_LIBRARY_SYMBOL
64 pybind11::object loadModule( std::string const & moduleName,
65  std::string const & modulePathList,
66  pybind11::object & globals);
67 
79 VISR_PYTHONSUPPORT_LIBRARY_SYMBOL
80 pybind11::object loadModule( std::string const & moduleName,
81  std::string const & modulePathList,
82  std::string const & additionalPathList,
83  pybind11::object & globals);
84 
85 } // namespace pythonsupport
86 } // namespace visr
87 
88 #endif // #ifndef VISR_LIBPYTHONSUPPORT_LOAD_MODULE_HPP_INCLUDED
pybind11::object loadModule(std::string const &moduleName, std::vector< std::string > const &modulePath, pybind11::object &globals)
Definition: load_module.cpp:22
Definition: load_module.hpp:11
Definition: options.cpp:10