UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pythonwrapper.h
Go to the documentation of this file.
1 #ifndef UGDK_SCRIPT_PYTHON_PYTHONWRAPPER_H_
2 #define UGDK_SCRIPT_PYTHON_PYTHONWRAPPER_H_
3 
4 #include <vector>
6 
7 namespace ugdk {
8 namespace script {
9 
10 class VirtualObj;
11 
12 namespace python {
13 
14 typedef void (*PyInitFunction)(void);
17 
18 
20  public:
21  PythonWrapper() : PythonWrapperBase("py", LANG(Python)) {}
22  virtual ~PythonWrapper() {}
23 
24  virtual VirtualData::Ptr NewData();
25 
26  virtual void ExecuteCode(const std::string& code);
27 
28  virtual VirtualObj LoadModule(const std::string& name);
29 
31  virtual bool Initialize();
33  virtual void Finalize();
34 
36 
37  private:
38  //std::vector<Module> modules_;
39 };
40 
41 }
42 }
43 }
44 
45 #endif /* UGDK_SCRIPT_PYTHON_PYTHONWRAPPER_H_ */