Go to the source code of this file.
Macros | |
| #define | PY_SSIZE_T_CLEAN |
Typedefs | |
| typedef void(* | input_driver_init_callback) (char *, size_t, size_t, char *) |
| typedef void(* | input_driver_process_segment_callback) (char *, size_t, size_t, int, int, int) |
| typedef void(* | input_driver_finalize_callback) (char *) |
Functions | |
| void | register_input_driver_init_callback (input_driver_init_callback callback) |
| void | register_input_driver_process_segment_callback (input_driver_process_segment_callback callback) |
| void | register_input_driver_finalize_callback (input_driver_finalize_callback callback) |
| void | initialize_py_interpreter () |
| void | add_python_module_path (int index, char *path) |
| void | python_callback_init (grasp_settings *settings, grasp_tile_description_t *input_information, char *py_module) |
| void | python_callback_process_segment (char *py_module, grasp_segment_t *segment, int col, int row, int itime) |
| void | python_callback_finalize (char *py_module) |
| PyObject * | get_python_function (char *py_module, char *function) |
Macro Definition Documentation
◆ PY_SSIZE_T_CLEAN
| #define PY_SSIZE_T_CLEAN |
Typedef Documentation
◆ input_driver_finalize_callback
| typedef void(* input_driver_finalize_callback) (char *) |
◆ input_driver_init_callback
| typedef void(* input_driver_init_callback) (char *, size_t, size_t, char *) |
◆ input_driver_process_segment_callback
| typedef void(* input_driver_process_segment_callback) (char *, size_t, size_t, int, int, int) |
Function Documentation
◆ add_python_module_path()
| void add_python_module_path | ( | int | index, |
| char * | path | ||
| ) |
Insert the given path to sys.path of the current python interpreter at the given position
◆ get_python_function()
| PyObject* get_python_function | ( | char * | py_module, |
| char * | function | ||
| ) |
◆ initialize_py_interpreter()
| void initialize_py_interpreter | ( | ) |
◆ python_callback_finalize()
| void python_callback_finalize | ( | char * | py_module | ) |
◆ python_callback_init()
| void python_callback_init | ( | grasp_settings * | settings, |
| grasp_tile_description_t * | input_information, | ||
| char * | py_module | ||
| ) |
◆ python_callback_process_segment()
| void python_callback_process_segment | ( | char * | py_module, |
| grasp_segment_t * | segment, | ||
| int | col, | ||
| int | row, | ||
| int | itime | ||
| ) |
◆ register_input_driver_finalize_callback()
| void register_input_driver_finalize_callback | ( | input_driver_finalize_callback | callback | ) |
◆ register_input_driver_init_callback()
| void register_input_driver_init_callback | ( | input_driver_init_callback | callback | ) |
◆ register_input_driver_process_segment_callback()
| void register_input_driver_process_segment_callback | ( | input_driver_process_segment_callback | callback | ) |
