ZOO-Project
Data Structures | Functions | Variables
service_internal_otb.c File Reference
#include "service_internal_otb.h"
#include "response_print.h"
#include "server_internal.h"

Data Structures

class  MyCommand
 The command to create a ZooWatcher and add it to the global m_WatcherList. More...
 

Functions

std::string ReplaceAll (std::string str, const std::string &from, const std::string &to)
 Replace all occurence of from by to in a str string. More...
 
int zoo_otb_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs)
 Load and run an OTB Application corresponding to the service by using inputs parameters. More...
 

Variables

int otbCounter =0
 Global OTB counter. More...
 
WatcherListType m_WatcherList
 The ZooWatcher list. More...
 
mapsm_Conf
 A pointer to the conf maps containing the main.cfg settings. More...
 

Function Documentation

std::string ReplaceAll ( std::string  str,
const std::string &  from,
const std::string &  to 
)

Replace all occurence of from by to in a str string.

Parameters
strthe string to transform
fromthe string to replace
tothe string used as replacement
Returns
the resulting string
int zoo_otb_support ( maps **  main_conf,
map request,
service s,
maps **  real_inputs,
maps **  real_outputs 
)

Load and run an OTB Application corresponding to the service by using inputs parameters.

Define the m_Conf

Parameters
main_confthe conf maps containing the main.cfg settings
requestthe map containing the HTTP request
sthe service structure
real_inputsthe maps containing the inputs
real_outputsthe maps containing the outputs

Variable Documentation

maps* m_Conf

A pointer to the conf maps containing the main.cfg settings.

WatcherListType m_WatcherList

The ZooWatcher list.

int otbCounter =0

Global OTB counter.