cam_ts_PathPointPredicted.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "ETSI-ITS-CDD"
4  * found in "/input/ETSI-ITS-CDD.asn"
5  * `asn1c -fcompound-names -fprefix=cam_ts_ -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-example -gen-UPER -gen-JER`
6  */
7 
9 
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
12  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
14  0, 0 /* No PER value map */
15 };
16 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
17 static int asn_DFL_5_cmp_12800(const void *sptr) {
18  const cam_ts_DeltaAltitude_t *st = sptr;
19 
20  if(!st) {
21  return -1; /* No value is not a default value */
22  }
23 
24  /* Test default value 12800 */
25  return (*st != 12800);
26 }
27 static int asn_DFL_5_set_12800(void **sptr) {
28  cam_ts_DeltaAltitude_t *st = *sptr;
29 
30  if(!st) {
31  st = (*sptr = CALLOC(1, sizeof(*st)));
32  if(!st) return -1;
33  }
34 
35  /* Install default value 12800 */
36  *st = 12800;
37  return 0;
38 }
39 static int asn_DFL_6_cmp_15(const void *sptr) {
40  const cam_ts_AltitudeConfidence_t *st = sptr;
41 
42  if(!st) {
43  return -1; /* No value is not a default value */
44  }
45 
46  /* Test default value 15 */
47  return (*st != 15);
48 }
49 static int asn_DFL_6_set_15(void **sptr) {
50  cam_ts_AltitudeConfidence_t *st = *sptr;
51 
52  if(!st) {
53  st = (*sptr = CALLOC(1, sizeof(*st)));
54  if(!st) return -1;
55  }
56 
57  /* Install default value 15 */
58  *st = 15;
59  return 0;
60 }
62  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_PathPointPredicted, deltaLatitude),
63  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
64  -1, /* IMPLICIT tag at current level */
66  0,
67  {
68 #if !defined(ASN_DISABLE_OER_SUPPORT)
69  0,
70 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
71 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
72  0,
73 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
74 #if !defined(ASN_DISABLE_JER_SUPPORT)
75  0,
76 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
77  0
78  },
79  0, 0, /* No default value */
80  "deltaLatitude"
81  },
82  { ATF_NOFLAGS, 0, offsetof(struct cam_ts_PathPointPredicted, deltaLongitude),
83  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
84  -1, /* IMPLICIT tag at current level */
86  0,
87  {
88 #if !defined(ASN_DISABLE_OER_SUPPORT)
89  0,
90 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
91 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
92  0,
93 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
94 #if !defined(ASN_DISABLE_JER_SUPPORT)
95  0,
96 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
97  0
98  },
99  0, 0, /* No default value */
100  "deltaLongitude"
101  },
102  { ATF_POINTER, 6, offsetof(struct cam_ts_PathPointPredicted, horizontalPositionConfidence),
103  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
104  -1, /* IMPLICIT tag at current level */
106  0,
107  {
108 #if !defined(ASN_DISABLE_OER_SUPPORT)
109  0,
110 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
111 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
112  0,
113 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
114 #if !defined(ASN_DISABLE_JER_SUPPORT)
115  0,
116 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
117  0
118  },
119  0, 0, /* No default value */
120  "horizontalPositionConfidence"
121  },
122  { ATF_POINTER, 5, offsetof(struct cam_ts_PathPointPredicted, deltaAltitude),
123  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
124  -1, /* IMPLICIT tag at current level */
126  0,
127  {
128 #if !defined(ASN_DISABLE_OER_SUPPORT)
129  0,
130 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
131 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
132  0,
133 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
134 #if !defined(ASN_DISABLE_JER_SUPPORT)
135  0,
136 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
137  0
138  },
139  &asn_DFL_5_cmp_12800, /* Compare DEFAULT 12800 */
140  &asn_DFL_5_set_12800, /* Set DEFAULT 12800 */
141  "deltaAltitude"
142  },
143  { ATF_POINTER, 4, offsetof(struct cam_ts_PathPointPredicted, altitudeConfidence),
144  (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
145  -1, /* IMPLICIT tag at current level */
147  0,
148  {
149 #if !defined(ASN_DISABLE_OER_SUPPORT)
150  0,
151 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
152 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
153  0,
154 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
155 #if !defined(ASN_DISABLE_JER_SUPPORT)
156  0,
157 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
158  0
159  },
160  &asn_DFL_6_cmp_15, /* Compare DEFAULT 15 */
161  &asn_DFL_6_set_15, /* Set DEFAULT 15 */
162  "altitudeConfidence"
163  },
164  { ATF_POINTER, 3, offsetof(struct cam_ts_PathPointPredicted, pathDeltaTime),
165  (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
166  +1, /* EXPLICIT tag at current level */
168  0,
169  {
170 #if !defined(ASN_DISABLE_OER_SUPPORT)
171  0,
172 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
173 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
174  0,
175 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
176 #if !defined(ASN_DISABLE_JER_SUPPORT)
177  0,
178 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
179  0
180  },
181  0, 0, /* No default value */
182  "pathDeltaTime"
183  },
184  { ATF_POINTER, 2, offsetof(struct cam_ts_PathPointPredicted, symmetricAreaOffset),
185  (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
186  -1, /* IMPLICIT tag at current level */
188  0,
189  {
190 #if !defined(ASN_DISABLE_OER_SUPPORT)
191  0,
192 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
193 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
194  0,
195 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
196 #if !defined(ASN_DISABLE_JER_SUPPORT)
197  0,
198 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
199  0
200  },
201  0, 0, /* No default value */
202  "symmetricAreaOffset"
203  },
204  { ATF_POINTER, 1, offsetof(struct cam_ts_PathPointPredicted, asymmetricAreaOffset),
205  (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
206  -1, /* IMPLICIT tag at current level */
208  0,
209  {
210 #if !defined(ASN_DISABLE_OER_SUPPORT)
211  0,
212 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
213 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
214  0,
215 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
216 #if !defined(ASN_DISABLE_JER_SUPPORT)
217  0,
218 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
219  0
220  },
221  0, 0, /* No default value */
222  "asymmetricAreaOffset"
223  },
224 };
225 static const int asn_MAP_cam_ts_PathPointPredicted_oms_1[] = { 2, 3, 4, 5, 6, 7 };
227  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
228 };
230  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* deltaLatitude */
231  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* deltaLongitude */
232  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* horizontalPositionConfidence */
233  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* deltaAltitude */
234  { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* altitudeConfidence */
235  { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* pathDeltaTime */
236  { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* symmetricAreaOffset */
237  { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* asymmetricAreaOffset */
238 };
240  sizeof(struct cam_ts_PathPointPredicted),
243  8, /* Count of tags in the map */
244  asn_MAP_cam_ts_PathPointPredicted_oms_1, /* Optional members */
245  6, 0, /* Root/Additions */
246  8, /* First extension addition */
247 };
249  "PathPointPredicted",
250  "PathPointPredicted",
254  /sizeof(asn_DEF_cam_ts_PathPointPredicted_tags_1[0]), /* 1 */
255  asn_DEF_cam_ts_PathPointPredicted_tags_1, /* Same as above */
257  /sizeof(asn_DEF_cam_ts_PathPointPredicted_tags_1[0]), /* 1 */
258  {
259 #if !defined(ASN_DISABLE_OER_SUPPORT)
260  0,
261 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
262 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
264 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
265 #if !defined(ASN_DISABLE_JER_SUPPORT)
266  0,
267 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
269  },
271  8, /* Elements count */
272  &asn_SPC_cam_ts_PathPointPredicted_specs_1 /* Additional specs */
273 };
274 
asn_OP_SEQUENCE
asn_TYPE_operation_t asn_OP_SEQUENCE
Definition: constr_SEQUENCE.c:9
asn_DEF_cam_ts_AltitudeConfidence
asn_TYPE_descriptor_t asn_DEF_cam_ts_AltitudeConfidence
Definition: cam_ts_AltitudeConfidence.c:69
asn_SPC_cam_ts_PathPointPredicted_specs_1
asn_SEQUENCE_specifics_t asn_SPC_cam_ts_PathPointPredicted_specs_1
Definition: cam_ts_PathPointPredicted.c:239
ASN_TAG_CLASS_CONTEXT
@ ASN_TAG_CLASS_CONTEXT
Definition: ber_tlv_tag.h:15
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
asn_DFL_6_set_15
static int asn_DFL_6_set_15(void **sptr)
Definition: cam_ts_PathPointPredicted.c:49
asn_DEF_cam_ts_PosConfidenceEllipse
asn_TYPE_descriptor_t asn_DEF_cam_ts_PosConfidenceEllipse
Definition: cam_ts_PosConfidenceEllipse.c:88
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
asn_MAP_cam_ts_PathPointPredicted_tag2el_1
static const asn_TYPE_tag2member_t asn_MAP_cam_ts_PathPointPredicted_tag2el_1[]
Definition: cam_ts_PathPointPredicted.c:229
CALLOC
#define CALLOC(nmemb, size)
Definition: asn_internal.h:37
asn_TYPE_tag2member_s
Definition: constr_TYPE.h:289
cam_ts_PathPointPredicted
Definition: cam_ts_PathPointPredicted.h:31
asn_DFL_5_set_12800
static int asn_DFL_5_set_12800(void **sptr)
Definition: cam_ts_PathPointPredicted.c:27
ATF_POINTER
@ ATF_POINTER
Definition: constr_TYPE.h:268
SEQUENCE_constraint
asn_constr_check_f SEQUENCE_constraint
Definition: constr_SEQUENCE.h:56
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
offsetof
#define offsetof(s, m)
Definition: asn_system.h:132
asn_DFL_5_cmp_12800
static int asn_DFL_5_cmp_12800(const void *sptr)
Definition: cam_ts_PathPointPredicted.c:17
asn_MBR_cam_ts_PathPointPredicted_1
asn_TYPE_member_t asn_MBR_cam_ts_PathPointPredicted_1[]
Definition: cam_ts_PathPointPredicted.c:61
asn_DEF_cam_ts_DeltaAltitude
asn_TYPE_descriptor_t asn_DEF_cam_ts_DeltaAltitude
Definition: cam_ts_DeltaAltitude.c:49
cam_ts_AltitudeConfidence_t
long cam_ts_AltitudeConfidence_t
Definition: cam_ts_AltitudeConfidence.h:42
asn_DEF_cam_ts_StandardLength9b
asn_TYPE_descriptor_t asn_DEF_cam_ts_StandardLength9b
Definition: cam_ts_StandardLength9b.c:49
asn_DEF_cam_ts_PathPointPredicted_tags_1
static const ber_tlv_tag_t asn_DEF_cam_ts_PathPointPredicted_tags_1[]
Definition: cam_ts_PathPointPredicted.c:226
cam_ts_DeltaAltitude_t
long cam_ts_DeltaAltitude_t
Definition: cam_ts_DeltaAltitude.h:29
asn_DEF_cam_ts_PathPointPredicted
asn_TYPE_descriptor_t asn_DEF_cam_ts_PathPointPredicted
Definition: cam_ts_PathPointPredicted.c:248
ATF_NOFLAGS
@ ATF_NOFLAGS
Definition: constr_TYPE.h:267
asn_SEQUENCE_specifics_s
Definition: constr_SEQUENCE.h:14
asn_DEF_cam_ts_DeltaLongitude
asn_TYPE_descriptor_t asn_DEF_cam_ts_DeltaLongitude
Definition: cam_ts_DeltaLongitude.c:49
asn_PER_type_cam_ts_PathPointPredicted_constr_1
asn_per_constraints_t asn_PER_type_cam_ts_PathPointPredicted_constr_1
cam_ts_PathPointPredicted.h
asn_per_constraints_s
Definition: per_support.h:30
asn_TYPE_member_s
Definition: constr_TYPE.h:272
asn_MAP_cam_ts_PathPointPredicted_oms_1
static const int asn_MAP_cam_ts_PathPointPredicted_oms_1[]
Definition: cam_ts_PathPointPredicted.c:225
asn_DEF_cam_ts_PathDeltaTimeChoice
asn_TYPE_descriptor_t asn_DEF_cam_ts_PathDeltaTimeChoice
Definition: cam_ts_PathDeltaTimeChoice.c:73
CC_NOTUSED
asn_per_constraints_t asn_PER_type_cam_ts_PathPointPredicted_constr_1 CC_NOTUSED
Definition: cam_ts_PathPointPredicted.c:11
asn_DFL_6_cmp_15
static int asn_DFL_6_cmp_15(const void *sptr)
Definition: cam_ts_PathPointPredicted.c:39
asn_DEF_cam_ts_DeltaLatitude
asn_TYPE_descriptor_t asn_DEF_cam_ts_DeltaLatitude
Definition: cam_ts_DeltaLatitude.c:49
cam_ts_PathPointPredicted::_asn_ctx
asn_struct_ctx_t _asn_ctx
Definition: cam_ts_PathPointPredicted.h:46


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:23