hpi Namespace Reference


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.

Variables

static python_interface hpi_instance
 this is where we keep the single instance of class python_interface


Function Documentation

hsi_IMPEX int hpi::callhpi ( const char *  plugin_name,
int  argc,
  ... 
)

simplified call interface to the Python Plugin facility.

Parameters:
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().


Variable Documentation

python_interface hpi::hpi_instance [static]

this is where we keep the single instance of class python_interface

Definition at line 53 of file hpi.cpp.

Referenced by callhpi().


Generated on 24 Oct 2014 for Hugintrunk by  doxygen 1.4.7