grasp_main.c File Reference
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "grasp_main.h"#include "yamlsettings/yamlsettings.h"#include "../input/grasp_input.h"#include "../output/grasp_output.h"#include "../settings/grasp_settings.h"#include <grasp/utils.h>#include "grasp_controller.h"#include "grasp_mpi_engine.h"#include "mo_grasp_controller.h"#include "../global/grasp_runtime_information.h"Typedefs | |
| typedef enum benchmark_enum_ | benchmark_enum |
Enumerations | |
| enum | benchmark_enum_ { BENCHMARK_SEQ, BENCHMARK_MPI } |
Functions | |
| int | main_sequential (int argc, char **argv, yamlsettings_parser_settings_file_mode settings_file_mode, grasp_results_description *results_description, grasp_segment_t *input_segment, sensor_data_t *input_sdata) |
Typedef Documentation
◆ benchmark_enum
| typedef enum benchmark_enum_ benchmark_enum |
Enumeration Type Documentation
◆ benchmark_enum_
| enum benchmark_enum_ |
Function Documentation
◆ main_sequential()
| int main_sequential | ( | int | argc, |
| char ** | argv, | ||
| yamlsettings_parser_settings_file_mode | settings_file_mode, | ||
| grasp_results_description * | results_description, | ||
| grasp_segment_t * | input_segment, | ||
| sensor_data_t * | input_sdata | ||
| ) |
Starting point of GRASP from external library
- Parameters
-
argc Number of input command line arguments argv Input command line arguments settings_file_mode how settings are provided (inline, none, mandatory, ...) results_description Access to results input_segment In case a segment is provided, it will loaded instead of calling a driver input_sdata In case a sdata is provided, it will loaded instead of calling a driver
- Returns
- 0 if the process finished properly, otherwise error code
