cat023.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 
26 #ifndef LIBASTERIX_CAT023_H
27 #define LIBASTERIX_CAT023_H
28 
29 #include "dataitem.h"
30 #include "datarecord.h"
31 #include "cat_generic.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 // Data Item
38 
40 const char* ast_dataitem_023_get_name(const ast_dataitem_type_t type);
41 
47 typedef enum _ast_ground_station_report_type_t
48 {
53 
55 #define ast_dataitem_023_000_get_size ast_dataitem_message_type_get_size
56 #define ast_dataitem_023_000_decode ast_dataitem_message_type_decode
57 AST_API void ast_dataitem_023_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
58 #define ast_dataitem_023_000_get_detail_html ast_dataitem_get_detail_html_dummy
59 
69 #define ast_dataitem_023_010_get_size ast_dataitem_data_source_identifier_get_size
70 #define ast_dataitem_023_010_decode ast_dataitem_data_source_identifier_decode
71 #define ast_dataitem_023_010_encode ast_dataitem_data_source_identifier_encode
72 #define ast_dataitem_023_010_get_summary ast_dataitem_data_source_identifier_get_summary
73 #define ast_dataitem_023_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
74 
84 #define ast_dataitem_023_070_get_size ast_dataitem_time_of_day_get_size
85 #define ast_dataitem_023_070_decode ast_dataitem_time_of_day_decode
86 #define ast_dataitem_023_070_encode ast_dataitem_time_of_day_encode
87 #define ast_dataitem_023_070_get_summary ast_dataitem_time_of_day_get_summary
88 #define ast_dataitem_023_070_get_detail_html ast_dataitem_time_of_day_get_detail_html
89 
98 typedef struct _ast_dataitem_023_100_t
100 {
101  bool valid;
102 
103  bool nogo;
112 
114 #define ast_dataitem_023_100_get_size ast_dataitem_get_size_var_2_byte
115 
118 
120 AST_API void ast_dataitem_023_100_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
121 
123 AST_API void ast_dataitem_023_100_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
124 
129 #ifdef __cplusplus
130  }
131 #endif // extern "C"
132 
133 #endif //LIBASTERIX_CAT021_H
134 
135 // vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
ast_dataitem_message_type_t ast_dataitem_023_000_t
Definition: cat023.h:54
Data Item - Message Type.
Definition: cat_generic.h:52
bool dp_overload
Definition: cat023.h:104
Implementation of Datarecord concept defined by ASTERIX.
Definition: cat023.h:50
bool time_source
Definition: cat023.h:107
int report_period
Definition: cat023.h:110
Definition: cat023.h:51
#define AST_API
Definition: platform.h:63
Data Item - Data Source Identifier.
Definition: cat_generic.h:94
const char * ast_dataitem_023_get_name(const ast_dataitem_type_t type)
Get name function.
Data Item - Time of Day.
Definition: cat_generic.h:217
bool monitoring
Definition: cat023.h:106
bool spoofing_attack
Definition: cat023.h:108
This file includes the common used data items shares by different categories.
ast_dataitem_data_source_identifier_t ast_dataitem_023_010_t
Definition: cat023.h:68
Data Item I023/100 - Ground Station Status.
Definition: cat023.h:99
Implementation of Dataitem concept defined by ASTERIX.
Definition: cat023.h:49
bool nogo
Definition: cat023.h:103
void ast_dataitem_023_100_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool xt_overload
Definition: cat023.h:105
void ast_dataitem_023_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Dataitem.
Definition: dataitem.h:421
ast_dataitem_time_of_day_t ast_dataitem_023_070_t
Definition: cat023.h:83
bool track_num_restarted
Definition: cat023.h:109
ast_ground_station_report_type_t
Definition: cat023.h:47
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
void ast_dataitem_023_100_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
ast_dataitem_023_100_t ast_dataitem_023_100_decode(const ast_dataitem_t di)
Decode function.
bool valid
Definition: cat023.h:101