|
ZOO-Project
|
Go to the source code of this file.
Functions | |
| PyDictObject * | PyDict_FromMaps (maps *t) |
| Convert a maps to a Python dictionary. More... | |
| PyDictObject * | PyDict_FromMap (map *t) |
| Convert a map to a Python dictionary. More... | |
| maps * | mapsFromPyDict (PyDictObject *t) |
| Convert a Python dictionary to a maps. More... | |
| map * | mapFromPyDict (PyDictObject *t) |
| Convert a Python dictionary to a map. More... | |
| int | zoo_python_support (maps **, map *, service *, maps **, maps **) |
| Load a Python module then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference. More... | |
| void | PythonZooReport (maps **, const char *, int) |
| Report Python error which may occur on loading the Python module or at runtime. More... | |
| PyObject * | PythonTranslate (PyObject *, PyObject *) |
| Use the ZOO-Services messages translation function from the Python environment. More... | |
| PyObject * | PythonUpdateStatus (PyObject *, PyObject *) |
| Update the ongoing status of a running service from the Python environment. More... | |
| PyObject * | PythonTraceMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonDebugMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonInfoMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonSuccessMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonWarningMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonErrorMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| PyObject * | PythonCriticalMessage (PyObject *, PyObject *) |
| ZOO-API equivalent to logger.debug() in Python. More... | |
| map* mapFromPyDict | ( | PyDictObject * | t | ) |
Convert a Python dictionary to a map.
| t | the PyDictObject to convert |
| maps* mapsFromPyDict | ( | PyDictObject * | t | ) |
Convert a Python dictionary to a maps.
| t | the PyDictObject to convert |
| PyDictObject* PyDict_FromMap | ( | map * | t | ) |
Convert a map to a Python dictionary.
| t | the map to convert |
| PyDictObject* PyDict_FromMaps | ( | maps * | t | ) |
Convert a maps to a Python dictionary.
| t | the maps to convert |
| PyObject* PythonCriticalMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonDebugMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonErrorMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonInfoMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonSuccessMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonTraceMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonTranslate | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
Use the ZOO-Services messages translation function from the Python environment.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonUpdateStatus | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
Update the ongoing status of a running service from the Python environment.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| PyObject* PythonWarningMessage | ( | PyObject * | self, |
| PyObject * | args | ||
| ) |
ZOO-API equivalent to logger.debug() in Python.
| self | the Python object on which we can run the method |
| args | the Python arguments given from the Python environment |
| void PythonZooReport | ( | maps ** | main_conf, |
| const char * | module, | ||
| int | load | ||
| ) |
Report Python error which may occur on loading the Python module or at runtime.
| main_conf | the conf maps containing the main.cfg settings |
| module | the service name |
| load | 1 if the Python module was not loaded yet |
| int zoo_python_support | ( | maps ** | main_conf, |
| map * | request, | ||
| service * | s, | ||
| maps ** | real_inputs, | ||
| maps ** | real_outputs | ||
| ) |
Load a Python module then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference.
| main_conf | the conf maps containing the main.cfg settings |
| request | the map containing the HTTP request |
| s | the service structure |
| real_inputs | the maps containing the inputs |
| real_outputs | the maps containing the outputs |
1.8.17