cat023.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2013-2020] 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 
25 #ifndef LIBASTERIX_CAT023_H
26 #define LIBASTERIX_CAT023_H
27 
28 #include "dataitem.h"
29 #include "datarecord.h"
30 #include "cat_generic.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 // Data Item
37 
39 const char* ast_dataitem_023_get_name(const ast_dataitem_type_t type);
40 
46 typedef enum _ast_ground_station_report_type_t
47 {
52 
54 #define ast_dataitem_023_000_get_size ast_dataitem_message_type_get_size
55 #define ast_dataitem_023_000_decode ast_dataitem_message_type_decode
56 AST_API void ast_dataitem_023_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
57 #define ast_dataitem_023_000_get_detail_html ast_dataitem_get_detail_html_dummy
58 
68 #define ast_dataitem_023_010_get_size ast_dataitem_data_source_identifier_get_size
69 #define ast_dataitem_023_010_decode ast_dataitem_data_source_identifier_decode
70 #define ast_dataitem_023_010_encode ast_dataitem_data_source_identifier_encode
71 #define ast_dataitem_023_010_get_summary ast_dataitem_data_source_identifier_get_summary
72 #define ast_dataitem_023_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
73 
83 #define ast_dataitem_023_070_get_size ast_dataitem_time_of_day_get_size
84 #define ast_dataitem_023_070_decode ast_dataitem_time_of_day_decode
85 #define ast_dataitem_023_070_encode ast_dataitem_time_of_day_encode
86 #define ast_dataitem_023_070_get_summary ast_dataitem_time_of_day_get_summary
87 #define ast_dataitem_023_070_get_detail_html ast_dataitem_time_of_day_get_detail_html
88 
97 typedef struct _ast_dataitem_023_100_t
99 {
100  bool valid;
101 
102  bool nogo;
111 
113 #define ast_dataitem_023_100_get_size ast_dataitem_get_size_var_2_byte
114 
117 
119 AST_API void ast_dataitem_023_100_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
120 
122 AST_API void ast_dataitem_023_100_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
123 
128 #ifdef __cplusplus
129  }
130 #endif // extern "C"
131 
132 #endif //LIBASTERIX_CAT021_H
133 
134 // vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
ast_dataitem_message_type_t ast_dataitem_023_000_t
Definition: cat023.h:53
Data Item - Message Type.
Definition: cat_generic.h:51
bool dp_overload
Definition: cat023.h:103
Implementation of Datarecord concept defined by ASTERIX.
Definition: cat023.h:49
bool time_source
Definition: cat023.h:106
int report_period
Definition: cat023.h:109
Definition: cat023.h:50
#define AST_API
Definition: platform.h:63
Data Item - Data Source Identifier.
Definition: cat_generic.h:93
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:219
bool monitoring
Definition: cat023.h:105
bool spoofing_attack
Definition: cat023.h:107
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:67
Data Item I023/100 - Ground Station Status.
Definition: cat023.h:98
Implementation of Dataitem concept defined by ASTERIX.
Definition: cat023.h:48
bool nogo
Definition: cat023.h:102
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:104
void ast_dataitem_023_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Dataitem.
Definition: dataitem.h:422
ast_dataitem_time_of_day_t ast_dataitem_023_070_t
Definition: cat023.h:82
bool track_num_restarted
Definition: cat023.h:108
ast_ground_station_report_type_t
Definition: cat023.h:46
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:100