|
Hugintrunk
0.1
|
Classes | |
| class | python_interface |
| a class which encapsulates the python interface. More... | |
| class | python_arglist |
| helper class to generated PyObject from C/C++/hugin classes More... | |
Functions | |
| int | callhpi (const char *plugin_name, int argc,...) |
| simplified call interface to the Python Plugin facility. More... | |
Variables | |
| static python_interface | hpi_instance |
| this is where we keep the single instance of class python_interface More... | |
| hsi_IMPEX int hpi::callhpi | ( | const char * | plugin_name, |
| int | argc, | ||
| ... | |||
| ) |
simplified call interface to the Python Plugin facility.
| plugin_name | the name of the plugin. This must name a python file which is in PYTHONPATH, without path and extension. |
| argc | the number of arguments to the plugin, not the number of argument to this function. |
for each argument, two more values has to be given:
Definition at line 55 of file hpi.cpp.
References hpi::python_interface::activate(), hpi::python_arglist::add(), hpi::python_interface::call_hpi(), hpi_instance, hpi::python_arglist::make_hsi_object(), and hpi::python_arglist::yield().
|
static |
this is where we keep the single instance of class python_interface
Definition at line 53 of file hpi.cpp.
Referenced by callhpi().
1.8.5