Diag-Client-Lib
|
#include <vd_message.h>
Public Member Functions | |
VdMessage (std::uint8_t preselection_mode, uds_transport::ByteVector &preselection_value, std::string_view host_ip_address) | |
VdMessage () noexcept | |
~VdMessage () noexcept override=default | |
![]() | |
UdsMessage ()=default | |
UdsMessage (const UdsMessage &other)=default | |
UdsMessage (UdsMessage &&other) noexcept=default | |
UdsMessage & | operator= (const UdsMessage &other)=default |
UdsMessage & | operator= (UdsMessage &&other) noexcept=default |
virtual | ~UdsMessage ()=default |
Private Member Functions | |
void | AddMetaInfo (std::shared_ptr< const MetaInfoMap > meta_info) override |
const uds_transport::ByteVector & | GetPayload () const override |
uds_transport::ByteVector & | GetPayload () override |
Address | GetSa () const noexcept override |
Address | GetTa () const noexcept override |
TargetAddressType | GetTaType () const noexcept override |
IpAddress | GetHostIpAddress () const noexcept override |
PortNumber | GetHostPortNumber () const noexcept override |
Private Attributes | |
Address | source_address_ |
Address | target_address_ |
TargetAddressType | target_address_type |
IpAddress | host_ip_address_ |
uds_transport::ByteVector | vehicle_info_payload_ |
std::shared_ptr< const MetaInfoMap > | meta_info_ {} |
Additional Inherited Members | |
![]() | |
enum class | TargetAddressType : std::uint8_t { kPhysical = 0U , kFunctional = 1U } |
using | Address = std::uint16_t |
using | IpAddress = std::string_view |
using | PortNumber = std::uint16_t |
using | MetaInfoMap = std::map< std::string, std::string > |
Definition at line 19 of file vd_message.h.
diag::client::vd_message::VdMessage::VdMessage | ( | std::uint8_t | preselection_mode, |
uds_transport::ByteVector & | preselection_value, | ||
std::string_view | host_ip_address | ||
) |
Definition at line 27 of file vd_message.cpp.
|
noexcept |
Definition at line 36 of file vd_message.cpp.
|
overridedefaultnoexcept |
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 51 of file vd_message.h.
References host_ip_address_, and meta_info_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 75 of file vd_message.h.
References host_ip_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 78 of file vd_message.h.
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 60 of file vd_message.h.
References vehicle_info_payload_.
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 63 of file vd_message.h.
References vehicle_info_payload_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 66 of file vd_message.h.
References source_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 69 of file vd_message.h.
References target_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 72 of file vd_message.h.
References target_address_type.
|
private |
Definition at line 42 of file vd_message.h.
Referenced by AddMetaInfo(), and GetHostIpAddress().
|
private |
Definition at line 48 of file vd_message.h.
Referenced by AddMetaInfo().
|
private |
Definition at line 33 of file vd_message.h.
Referenced by GetSa().
|
private |
Definition at line 36 of file vd_message.h.
Referenced by GetTa().
|
private |
Definition at line 39 of file vd_message.h.
Referenced by GetTaType().
|
private |
Definition at line 45 of file vd_message.h.
Referenced by GetPayload().