grasp_output_functions.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 CNRS & Universite Lille 1. All rights reserved.
3  *
4  * Licensed under the GRASP Open Source License V1.0 (see LICENSE file)
5  */
6 
7 /*
8  * File: grasp_output_functions.h
9  * Author: fuertes
10  *
11  * Created on 3 de octubre de 2014, 14:36
12  */
13 
14 #ifndef GRASP_OUTPUT_FUNCTIONS_H
15 #define GRASP_OUTPUT_FUNCTIONS_H
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #include "grasp_output.h"
23 #include "../controller/grasp_controller_functions.h"
25 
26 // Generic function for initialize segment output function
27 typedef int (*grasp_output_segment_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information);
28 // This type define a generic function to print output information
29 typedef int (*grasp_output_segment_function_process_t)(grasp_output_stream *stream, grasp_settings *settings,grasp_segment_t *segment,output_segment_general *output,grasp_tile_description_t *tile_description,int icol,int irow,int itime);
30 // Generic function for close segment output function
32 
38 
39 
40 // Generic function for initialize tile output function
41 typedef int (*grasp_output_tile_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information);
42 // This type define a generic function to print output information
44 // Generic function for close tile output function
46 
52 
53 
54 // Generic function for initialize current output function
55 typedef int (*grasp_output_current_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information);
56 // This type define a generic function to print output information
57 typedef int (*grasp_output_current_function_process_t)(grasp_output_stream *stream, grasp_settings *settings,grasp_segment_t *current,output_segment_general *output, grasp_results_t *results, grasp_tile_description_t *tile_description,int icol,int irow,int itime);
58 // Generic function for close current output function
60 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* GRASP_OUTPUT_FUNCTIONS_H */
72 
int(* grasp_output_segment_function_process_t)(grasp_output_stream *stream, grasp_settings *settings, grasp_segment_t *segment, output_segment_general *output, grasp_tile_description_t *tile_description, int icol, int irow, int itime)
Definition: grasp_output_functions.h:29
Definition: grasp_output_stream_t.h:24
Definition: grasp_output_tile_result.h:292
int(* grasp_output_tile_function_close_t)(void)
Definition: grasp_output_functions.h:45
Definition: grasp_output_functions.h:33
int(* grasp_output_current_function_process_t)(grasp_output_stream *stream, grasp_settings *settings, grasp_segment_t *current, output_segment_general *output, grasp_results_t *results, grasp_tile_description_t *tile_description, int icol, int irow, int itime)
Definition: grasp_output_functions.h:57
int(* grasp_output_current_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information)
Definition: grasp_output_functions.h:55
Definition: grasp_input_tile_description.h:32
Definition: grasp_output_segment_result.h:498
int(* grasp_output_current_function_close_t)(void)
Definition: grasp_output_functions.h:59
int(* grasp_output_segment_function_close_t)(void)
Definition: grasp_output_functions.h:31
int(* grasp_output_segment_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information)
Definition: grasp_output_functions.h:27
Definition: grasp_output_functions.h:47
grasp_output_current_function_init_t init
Definition: grasp_output_functions.h:62
grasp_output_segment_function_init_t init
Definition: grasp_output_functions.h:34
grasp_output_segment_function_close_t close
Definition: grasp_output_functions.h:36
Definition: grasp_output_functions.h:61
Definition: grasp_input_segment.h:243
struct grasp_output_tile_function_t_ grasp_output_tile_function_t
int(* grasp_output_tile_function_process_t)(grasp_output_stream *stream, grasp_settings *settings, grasp_tile_description_t *tile_description, grasp_results_t *results)
Definition: grasp_output_functions.h:43
struct grasp_output_current_function_t_ grasp_output_current_function_t
grasp_output_tile_function_init_t init
Definition: grasp_output_functions.h:48
grasp_output_tile_function_close_t close
Definition: grasp_output_functions.h:50
grasp_output_current_function_close_t close
Definition: grasp_output_functions.h:64
int(* grasp_output_tile_function_init_t)(grasp_settings *settings, grasp_tile_description_t *input_information)
Definition: grasp_output_functions.h:41
struct grasp_output_segment_function_t_ grasp_output_segment_function_t
Definition: grasp_settings_t.h:409