cat008.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2013-2021] SinoATC <http://www.sinoatc.com>.
4  * All Rights Reserved.
5  *
6  * NOTICE: All information contained herein is, and remains
7  * the property of SinoATC and its suppliers, if any.
8  * The intellectual and technical concepts contained herein
9  * are proprietary to Aerosys Corporation and its suppliers and may be
10  * covered by U.S. and Foreign Patents, patents in process,
11  * and are protected by trade secret or copyright law.
12  * Dissemination of this information or reproduction of this material
13  * is strictly forbidden unless prior written permission is obtained
14  * from SinoATC.
15  */
16 
24 #ifndef LIBASTERIX_CAT008_H
25 #define LIBASTERIX_CAT008_H
26 
27 #include "dataitem.h"
28 #include "cat_generic.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 // Data Item
35 
38 
44 typedef enum _ast_weather_message_type_t
46 {
54 
57 
59 #define ast_dataitem_008_000_get_size ast_dataitem_message_type_get_size
60 
62 #define ast_dataitem_008_000_decode ast_dataitem_message_type_decode
63 
65 #define ast_dataitem_008_000_encode ast_dataitem_message_type_encode
66 
68 AST_API void ast_dataitem_008_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
69 
71 #define ast_dataitem_008_000_get_detail_html ast_dataitem_get_detail_html_dummy
72 
82 #define ast_dataitem_008_010_get_size ast_dataitem_data_source_identifier_get_size
83 #define ast_dataitem_008_010_decode ast_dataitem_data_source_identifier_decode
84 #define ast_dataitem_008_010_encode ast_dataitem_data_source_identifier_encode
85 #define ast_dataitem_008_010_get_summary ast_dataitem_data_source_identifier_get_summary
86 #define ast_dataitem_008_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
87 
96 #define ast_dataitem_008_020_get_size ast_dataitem_get_size_var_2_byte
97 
106 #define ast_dataitem_008_034_get_size ast_dataitem_get_size_rep_4_byte
107 
117 #define ast_dataitem_008_090_get_size ast_dataitem_time_of_day_get_size
118 #define ast_dataitem_008_090_decode ast_dataitem_time_of_day_decode
119 #define ast_dataitem_008_090_encode ast_dataitem_time_of_day_encode
120 #define ast_dataitem_008_090_get_summary ast_dataitem_time_of_day_get_summary
121 #define ast_dataitem_008_090_get_detail_html ast_dataitem_time_of_day_get_detail_html
122 
131 #define ast_dataitem_008_100_get_size ast_dataitem_get_size_fixed_3_byte
133 
134 
142 typedef struct _ast_dataitem_008_120_t
144 {
145  bool valid;
146 
147  unsigned int number;
149 
151 #define ast_dataitem_008_120_get_size ast_dataitem_get_size_fixed_2_byte
152 
155 
157 AST_API void ast_dataitem_008_120_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
158 
160 #define ast_dataitem_008_120_get_detail_html ast_dataitem_get_detail_html_dummy;
161 
162 
166 #ifdef __cplusplus
167  }
168 #endif // extern "C"
169 
170 #endif //LIBASTERIX_CAT008_H
171 
172 // vim:set ft=c sw=2 sts=2 fenc=utf8:
Data Item - Message Type.
Definition: cat_generic.h:51
Contour record.
Definition: cat008.h:49
ast_weather_message_type_t
Weather message type.
Definition: cat008.h:45
Data Item I008/120 - Total Number of Items Constituting One Weather Picture.
Definition: cat008.h:143
#define AST_API
Definition: platform.h:63
Data Item - Data Source Identifier.
Definition: cat_generic.h:93
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:219
Cartesian vector of start point/ length.
Definition: cat008.h:48
Start of picture.
Definition: cat008.h:51
Polar vector.
Definition: cat008.h:47
ast_dataitem_message_type_t ast_dataitem_008_000_t
Data Item I008/000 - Message Type.
Definition: cat008.h:56
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:145
ast_dataitem_time_of_day_t ast_dataitem_008_090_t
Definition: cat008.h:116
Implementation of Dataitem concept defined by ASTERIX.
Dataitem.
Definition: dataitem.h:422
unsigned int number
Definition: cat008.h:147
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:81
End of picture.
Definition: cat008.h:52
Cartesian start point and end point vector.
Definition: cat008.h:50