8 #ifndef DIAG_CLIENT_LIB_APPL_INCLUDE_DIAGNOSTIC_CLIENT_H_ 
    9 #define DIAG_CLIENT_LIB_APPL_INCLUDE_DIAGNOSTIC_CLIENT_H_ 
   13 #include <string_view> 
   43   explicit DiagClient(std::string_view diag_client_config_path) noexcept;
 
   99       std::string_view conversation_name) noexcept;
 
Class type to contains a value (of type ValueType), or an error (of type ErrorType)
 
Class to provide implementation of diag client.
 
Class to manage Diagnostic Client.
 
Result< void > Initialize() noexcept
Function to initialize the already created instance of DiagClient.
 
VehicleInfoResponseError
Definitions of Vehicle Identification response error code.
 
Result< vehicle_info::VehicleInfoMessageResponseUniquePtr, VehicleInfoResponseError > SendVehicleIdentificationRequest(diag::client::vehicle_info::VehicleInfoListRequestType vehicle_info_request) noexcept
Function to send vehicle identification request and get the Diagnostic Server list.
 
std::unique_ptr< DiagClientImpl > diag_client_impl_
Unique pointer to diag client implementation.
 
DiagClient(std::string_view diag_client_config_path) noexcept
Constructs an instance of DiagClient.
 
DiagClient(DiagClient &&other) noexcept=delete
Deleted move assignment and move constructor.
 
conversation::DiagClientConversation GetDiagnosticClientConversation(std::string_view conversation_name) noexcept
Function to get required diag client conversation object based on conversation name.
 
DiagClient & operator=(const DiagClient &other) noexcept=delete
 
DiagClient & operator=(DiagClient &&other) noexcept=delete
 
~DiagClient() noexcept
Destruct an instance of DiagClient -Destruction.
 
Result< void > DeInitialize() noexcept
Function to de-initialize the already initialized instance of DiagClient.
 
DiagClient(const DiagClient &other) noexcept=delete
Deleted copy assignment and copy constructor.
 
VehicleAddrInfoRequest VehicleInfoListRequestType
Type alias of request storage type used while sending vehicle identification request.
 
std::unique_ptr< VehicleInfoMessage > VehicleInfoMessageResponseUniquePtr
The unique_ptr for Vehicle Identification Response Message.