ZOO-Project
|
service_internal_r.c File Reference
#include "service_internal_r.h"
Functions | |
void | jump_to_toplevel (void) |
void | init_zoo (SEXP conf, SEXP outputs) |
int | zoo_r_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs) |
Load a R script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference. More... | |
char ** | listMapsKeys (maps *m) |
char ** | listMapKeys (map *m) |
SEXP | RList_FromMaps (maps *t) |
Convert a maps to a R List. More... | |
SEXP | RList_FromMap (map *t) |
Convert a map to a R List. More... | |
maps * | mapsFromRList (SEXP t) |
Convert a R List to a maps. More... | |
map * | mapFromRList (SEXP t) |
Convert a R List to a map. More... | |
SEXP | RTranslate (SEXP str) |
Use the ZOO-Services messages translation function from the R environment. More... | |
SEXP | RUpdateStatus (SEXP confdict, SEXP status) |
Update the ongoing status of a running service from the R environment. More... | |
Function Documentation
void init_zoo | ( | SEXP | conf, |
SEXP | outputs | ||
) |
void jump_to_toplevel | ( | void | ) |
char** listMapKeys | ( | map * | m | ) |
char** listMapsKeys | ( | maps * | m | ) |
map* mapFromRList | ( | SEXP | t | ) |
Convert a R List to a map.
- Parameters
-
t the PyDictObject to convert
- Returns
- a new map containing the converted PyDictObject
- Warning
- make sure to free resources returned by this function
maps* mapsFromRList | ( | SEXP | t | ) |
Convert a R List to a maps.
- Parameters
-
t the PyDictObject to convert
- Returns
- a new maps containing the converted PyDictObject
- Warning
- make sure to free resources returned by this function
SEXP RList_FromMap | ( | map * | t | ) |
Convert a map to a R List.
- Parameters
-
t the map to convert
- Returns
- a new SEXP containing the converted maps
- Warning
- make sure to free resources returned by this function
SEXP RList_FromMaps | ( | maps * | t | ) |
Convert a maps to a R List.
- Parameters
-
t the maps to convert
- Returns
- a new SEXP containing the converted maps
- See also
- RList_FromMap
- Warning
- make sure to free resources returned by this function
SEXP RTranslate | ( | SEXP | str | ) |
Use the ZOO-Services messages translation function from the R environment.
- Parameters
-
str the R string passed from the R environment
- Returns
- a new R string containing the translated value
- See also
- _ss
SEXP RUpdateStatus | ( | SEXP | confdict, |
SEXP | status | ||
) |
Update the ongoing status of a running service from the R environment.
- Parameters
-
confdict the R arguments passed from the R environment status the R arguments passed from the R environment
- Returns
- Nil to the Python environment
- See also
- _updateStatus
int zoo_r_support | ( | maps ** | main_conf, |
map * | request, | ||
service * | s, | ||
maps ** | real_inputs, | ||
maps ** | real_outputs | ||
) |
Load a R script then run the function corresponding to the service by passing the conf, inputs and outputs parameters by reference.
- Parameters
-
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
Generated on Wed Apr 2 2025 09:00:01 for ZOO-Project by
