cat008.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2020] SinoATC (http://www.sinoatc.com/).
4  * Copyright [2013-2020] Aerosys Corporation (http://www.aerosys.cn/).
5  * All Rights Reserved.
6  *
7  * NOTICE: All information contained herein is, and remains
8  * the property of SinoATC and its suppliers, if any.
9  * The intellectual and technical concepts contained herein
10  * are proprietary to Aerosys Corporation and its suppliers and may be
11  * covered by U.S. and Foreign Patents, patents in process,
12  * and are protected by trade secret or copyright law.
13  * Dissemination of this information or reproduction of this material
14  * is strictly forbidden unless prior written permission is obtained
15  * from SinoATC.
16  */
17 
25 #ifndef LIBASTERIX_CAT008_H
26 #define LIBASTERIX_CAT008_H
27 
28 #include "dataitem.h"
29 #include "cat_generic.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 // Data Item
36 
39 
45 typedef enum _ast_weather_message_type_t
47 {
55 
58 
60 #define ast_dataitem_008_000_get_size ast_dataitem_message_type_get_size
61 
63 #define ast_dataitem_008_000_decode ast_dataitem_message_type_decode
64 
66 #define ast_dataitem_008_000_encode ast_dataitem_message_type_encode
67 
69 AST_API void ast_dataitem_008_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
70 
72 #define ast_dataitem_008_000_get_detail_html ast_dataitem_get_detail_html_dummy
73 
83 #define ast_dataitem_008_010_get_size ast_dataitem_data_source_identifier_get_size
84 #define ast_dataitem_008_010_decode ast_dataitem_data_source_identifier_decode
85 #define ast_dataitem_008_010_encode ast_dataitem_data_source_identifier_encode
86 #define ast_dataitem_008_010_get_summary ast_dataitem_data_source_identifier_get_summary
87 #define ast_dataitem_008_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
88 
97 #define ast_dataitem_008_020_get_size ast_dataitem_get_size_var_2_byte
98 
107 #define ast_dataitem_008_034_get_size ast_dataitem_get_size_rep_4_byte
108 
118 #define ast_dataitem_008_090_get_size ast_dataitem_time_of_day_get_size
119 #define ast_dataitem_008_090_decode ast_dataitem_time_of_day_decode
120 #define ast_dataitem_008_090_encode ast_dataitem_time_of_day_encode
121 #define ast_dataitem_008_090_get_summary ast_dataitem_time_of_day_get_summary
122 #define ast_dataitem_008_090_get_detail_html ast_dataitem_time_of_day_get_detail_html
123 
132 #define ast_dataitem_008_100_get_size ast_dataitem_get_size_fixed_3_byte
134 
135 
143 typedef struct _ast_dataitem_008_120_t
145 {
146  bool valid;
147 
148  unsigned int number;
150 
152 #define ast_dataitem_008_120_get_size ast_dataitem_get_size_fixed_2_byte
153 
156 
158 AST_API void ast_dataitem_008_120_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
159 
161 #define ast_dataitem_008_120_get_detail_html ast_dataitem_get_detail_html_dummy;
162 
163 
167 #ifdef __cplusplus
168  }
169 #endif // extern "C"
170 
171 #endif //LIBASTERIX_CAT008_H
172 
173 // vim:set ft=c sw=2 sts=2 fenc=utf8:
Data Item - Message Type.
Definition: cat_generic.h:52
Contour record.
Definition: cat008.h:50
ast_weather_message_type_t
Weather message type.
Definition: cat008.h:46
Data Item I008/120.
Definition: cat008.h:144
#define AST_API
Definition: platform.h:63
Data Item - Data Source Identifier.
Definition: cat_generic.h:94
void ast_dataitem_008_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
Data Item - Time of Day.
Definition: cat_generic.h:217
Cartesian vector of start point/ length.
Definition: cat008.h:49
Start of picture.
Definition: cat008.h:52
Polar vector.
Definition: cat008.h:48
ast_dataitem_message_type_t ast_dataitem_008_000_t
Data Item I008/000 - Message Type.
Definition: cat008.h:57
This file includes the common used data items shares by different categories.
ast_dataitem_008_120_t ast_dataitem_008_120_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_008_120_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
bool valid
Definition: cat008.h:146
ast_dataitem_time_of_day_t ast_dataitem_008_090_t
Definition: cat008.h:117
Implementation of Dataitem concept defined by ASTERIX.
Dataitem.
Definition: dataitem.h:421
unsigned int number
Definition: cat008.h:148
const char * ast_dataitem_008_get_name(const ast_dataitem_type_t type)
Get name function.
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
ast_dataitem_data_source_identifier_t ast_dataitem_008_010_t
Definition: cat008.h:82
End of picture.
Definition: cat008.h:53
Cartesian start point and end point vector.
Definition: cat008.h:51