ZOO-Project
|
#include "service_internal_hpc.h"
#include "response_print.h"
#include "server_internal.h"
#include "service_callback.h"
#include "mimetypes.h"
#include <sys/un.h>
Data Structures | |
struct | local_params |
Parameter definition to be used for sending parameters to a thread. More... | |
Functions | |
void | addNestedOutputs (service **s) |
Add nested outputs to every outputs that is geographic format. More... | |
int | addReadLocks (maps **conf) |
Acquire a read lock on every files used as input for executing a service. More... | |
int | removeReadLocks (maps **conf) |
Remove all read locks set for files used as input for executing the service. More... | |
char * | getConfiguration (maps **conf, maps **inputs, const char *confId) |
Get the section name depending on number of features and/or pixels of each inputs and the threshold defined in a section. More... | |
int | zoo_hpc_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs) |
Load and run a HPC Application corresponding to the service. More... | |
struct local_params |
void addNestedOutputs | ( | service ** | s | ) |
Add nested outputs to every outputs that is geographic format.
s | the service current definition |
int addReadLocks | ( | maps ** | conf | ) |
Acquire a read lock on every files used as input for executing a service.
conf | the main configuration file map |
Get the section name depending on number of features and/or pixels of each inputs and the threshold defined in a section.
It supposes that your inputs has been published using MapServer support, implying that the number of features (nb_features), respectively pixels (nb_pixels), are defined. The section, identified by confId, should contain preview_max_features and preview_max_pixels defining the threshold values.
conf | the main configuration file maps pointer |
inputs | the inputs maps pointer |
confId | the section identifier |
int removeReadLocks | ( | maps ** | conf | ) |
Remove all read locks set for files used as input for executing the service.
conf | the main configuration maps pointer |
int zoo_hpc_support | ( | maps ** | main_conf, |
map * | request, | ||
service * | s, | ||
maps ** | real_inputs, | ||
maps ** | real_outputs | ||
) |
Load and run a HPC Application corresponding to the service.
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 |