#include <CAMCodec.hh>
|
| CAMPDUCodec () |
|
virtual int | encode (const CAM__PDU__Descriptions::CAM &cam, BITSTRING &data) |
| Encode TITAN message into ASN.1 PER message. More...
|
|
virtual int | decode (const BITSTRING &data, CAM__PDU__Descriptions::CAM &) |
| Decode ASN.1 PER message into TITAN message. More...
|
|
|
int | _decode (const TTCN_Typedescriptor_t &ttcn, const asn_TYPE_descriptor_s &td, const BITSTRING &p_data, CAM__PDU__Descriptions::CAM &msg) |
|
int | _encode (const TTCN_Typedescriptor_t &ttcn, const asn_TYPE_descriptor_s &td, const CAM__PDU__Descriptions::CAM &msg, BITSTRING &p_data) |
|
int | ber2per (const asn_TYPE_descriptor_s &td, TTCN_Buffer &buf) |
|
int | per2ber (const asn_TYPE_descriptor_s &td, TTCN_Buffer &buf) |
|
int | recode (const asn_TYPE_descriptor_s &td, int from, int to, TTCN_Buffer &buf) |
|
◆ CAMPDUCodec()
CAMPDUCodec::CAMPDUCodec |
( |
| ) |
|
|
inlineexplicit |
◆ decode()
int CAMPDUCodec::decode |
( |
const BITSTRING & |
p_bitstring, |
|
|
CAM__PDU__Descriptions::CAM & |
p_message |
|
) |
| |
|
virtual |
Decode ASN.1 PER message into TITAN message.
- Parameters
-
[in] | p_bitstring | The network message in bit string format to decode |
[out] | p_message | The PDU message |
Implements per_code< CAM__PDU__Descriptions::CAM >.
◆ encode()
int CAMPDUCodec::encode |
( |
const CAM__PDU__Descriptions::CAM & |
p_message, |
|
|
BITSTRING & |
p_bitstring |
|
) |
| |
|
virtual |
Encode TITAN message into ASN.1 PER message.
- Parameters
-
[in] | p_message | The PDU message to encode |
[out] | p_bitstring | The encoded PDU message in bit string format |
Implements per_code< CAM__PDU__Descriptions::CAM >.
The documentation for this class was generated from the following files:
- /home/vagrant/TriesAndDelete/etsi_its/framework/include/CAMCodec.hh
- /home/vagrant/TriesAndDelete/etsi_its/framework/src/CAMCodec.cc