Choreonoid  1.5
PythonPlugin.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_PYTHON_PLUGIN_PYTHON_UTIL_H
6 #define CNOID_PYTHON_PLUGIN_PYTHON_UTIL_H
7 
8 #include <boost/python.hpp>
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 CNOID_EXPORT boost::python::object pythonMainModule();
14 CNOID_EXPORT boost::python::object pythonMainNamespace();
15 CNOID_EXPORT boost::python::object pythonSysModule();
16 
17 CNOID_EXPORT bool execPythonCode(const std::string& code);
18 
19 }
20 
21 #endif
CNOID_EXPORT boost::python::object pythonMainModule()
Definition: PythonPlugin.cpp:279
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37
CNOID_EXPORT boost::python::object pythonSysModule()
Definition: PythonPlugin.cpp:291
CNOID_EXPORT boost::python::object pythonMainNamespace()
Definition: PythonPlugin.cpp:285
CNOID_EXPORT bool execPythonCode(const std::string &code)
Definition: PythonPlugin.cpp:297