ITS
SafetyCarContainer.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3  * From ASN.1 module "CAM-PDU-Descriptions"
4  * found in "CAM.asn"
5  */
6 
7 #include "SafetyCarContainer.h"
8 
10  { ATF_NOFLAGS, 0, offsetof(struct SafetyCarContainer, lightBarSirenInUse),
11  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
12  -1, /* IMPLICIT tag at current level */
14  0, /* Defer constraints checking to the member type */
15  0, /* No PER visible constraints */
16  0,
17  "lightBarSirenInUse"
18  },
19  { ATF_POINTER, 3, offsetof(struct SafetyCarContainer, incidentIndication),
20  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21  -1, /* IMPLICIT tag at current level */
23  0, /* Defer constraints checking to the member type */
24  0, /* No PER visible constraints */
25  0,
26  "incidentIndication"
27  },
28  { ATF_POINTER, 2, offsetof(struct SafetyCarContainer, trafficRule),
29  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
30  -1, /* IMPLICIT tag at current level */
32  0, /* Defer constraints checking to the member type */
33  0, /* No PER visible constraints */
34  0,
35  "trafficRule"
36  },
37  { ATF_POINTER, 1, offsetof(struct SafetyCarContainer, speedLimit),
38  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
39  -1, /* IMPLICIT tag at current level */
41  0, /* Defer constraints checking to the member type */
42  0, /* No PER visible constraints */
43  0,
44  "speedLimit"
45  },
46 };
47 static int asn_MAP_SafetyCarContainer_oms_1[] = { 1, 2, 3 };
49  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
50 };
52  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lightBarSirenInUse */
53  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* incidentIndication */
54  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* trafficRule */
55  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* speedLimit */
56 };
58  sizeof(struct SafetyCarContainer),
61  4, /* Count of tags in the map */
62  asn_MAP_SafetyCarContainer_oms_1, /* Optional members */
63  3, 0, /* Root/Additions */
64  -1, /* Start extensions */
65  -1 /* Stop extensions */
66 };
68  "SafetyCarContainer",
69  "SafetyCarContainer",
79  0, /* Use generic outmost tag fetcher */
82  /sizeof(asn_DEF_SafetyCarContainer_tags_1[0]), /* 1 */
83  asn_DEF_SafetyCarContainer_tags_1, /* Same as above */
85  /sizeof(asn_DEF_SafetyCarContainer_tags_1[0]), /* 1 */
86  0, /* No PER visible constraints */
88  4, /* Elements count */
89  &asn_SPC_SafetyCarContainer_specs_1 /* Additional specs */
90 };
91 
static int asn_MAP_SafetyCarContainer_oms_1[]
#define offsetof(s, m)
Definition: asn_system.h:115
asn_struct_ctx_t _asn_ctx
asn_TYPE_descriptor_t asn_DEF_CauseCode
Definition: CauseCode.c:45
asn_TYPE_descriptor_t asn_DEF_TrafficRule
Definition: TrafficRule.c:129
ber_type_decoder_f SEQUENCE_decode_ber
static asn_TYPE_member_t asn_MBR_SafetyCarContainer_1[]
der_type_encoder_f SEQUENCE_encode_der
asn_TYPE_descriptor_t asn_DEF_SpeedLimit
Definition: SpeedLimit.c:123
static asn_SEQUENCE_specifics_t asn_SPC_SafetyCarContainer_specs_1
asn_struct_print_f SEQUENCE_print
per_type_decoder_f SEQUENCE_decode_uper
per_type_encoder_f SEQUENCE_encode_uper
asn_constr_check_f SEQUENCE_constraint
xer_type_decoder_f SEQUENCE_decode_xer
static ber_tlv_tag_t asn_DEF_SafetyCarContainer_tags_1[]
asn_struct_free_f SEQUENCE_free
asn_TYPE_descriptor_t asn_DEF_SafetyCarContainer
asn_TYPE_descriptor_t asn_DEF_LightBarSirenInUse
xer_type_encoder_f SEQUENCE_encode_xer
static asn_TYPE_tag2member_t asn_MAP_SafetyCarContainer_tag2el_1[]
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18