Diag-Client-Lib
|
#include <dm_uds_message.h>
Public Member Functions | |
DmUdsMessage (Address sa, Address ta, IpAddress host_ip_address, uds_transport::ByteVector &payload) | |
~DmUdsMessage () 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 >) 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_ |
std::string | host_ip_address_ |
uds_transport::ByteVector & | uds_payload_ |
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 dm_uds_message.h.
diag::client::uds_message::DmUdsMessage::DmUdsMessage | ( | Address | sa, |
Address | ta, | ||
IpAddress | host_ip_address, | ||
uds_transport::ByteVector & | payload | ||
) |
Definition at line 13 of file dm_uds_message.cpp.
|
overridedefaultnoexcept |
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 45 of file dm_uds_message.h.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 65 of file dm_uds_message.h.
References host_ip_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 68 of file dm_uds_message.h.
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 50 of file dm_uds_message.h.
References uds_payload_.
|
inlineoverrideprivatevirtual |
Implements uds_transport::UdsMessage.
Definition at line 53 of file dm_uds_message.h.
References uds_payload_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 56 of file dm_uds_message.h.
References source_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 59 of file dm_uds_message.h.
References target_address_.
|
inlineoverrideprivatevirtualnoexcept |
Implements uds_transport::UdsMessage.
Definition at line 62 of file dm_uds_message.h.
References target_address_type_.
|
private |
Definition at line 39 of file dm_uds_message.h.
Referenced by GetHostIpAddress().
|
private |
Definition at line 30 of file dm_uds_message.h.
Referenced by GetSa().
|
private |
Definition at line 33 of file dm_uds_message.h.
Referenced by GetTa().
|
private |
Definition at line 36 of file dm_uds_message.h.
Referenced by GetTaType().
|
private |
Definition at line 42 of file dm_uds_message.h.
Referenced by GetPayload().