Diag-Client-Lib
Namespaces | Classes | Typedefs | Functions
diag::client Namespace Reference

Namespaces

 common
 
 config_parser
 
 conversation
 
 conversation_manager
 
 conversation_state_impl
 
 dcm
 
 error_domain
 
 logger
 
 uds_message
 
 uds_transport
 
 vd_message
 
 vehicle_info
 

Classes

class  DiagClient
 Class to manage Diagnostic Client. More...
 

Typedefs

template<typename T , typename E = core_type::ErrorCode>
using Result = core_type::Result< T, E >
 Class type to contains a value (of type ValueType), or an error (of type ErrorType) More...
 

Functions

std::unique_ptr< diag::client::DiagClientCreateDiagnosticClient (std::string_view diag_client_config_path)
 Function to get the instance of Diagnostic Client Object. This instance to be further used for all the functionalities. More...
 

Typedef Documentation

◆ Result

template<typename T , typename E = core_type::ErrorCode>
using diag::client::Result = typedef core_type::Result<T, E>

Class type to contains a value (of type ValueType), or an error (of type ErrorType)

This class is implemented based on API specification of ara::core::Result from Adaptive Platform Core AUTOSAR AP R21-11

Template Parameters
TThe type of value
EThe type of error, default set to ErrorCode

Definition at line 31 of file diagnostic_client_result.h.

Function Documentation

◆ CreateDiagnosticClient()

std::unique_ptr< DiagClient > diag::client::CreateDiagnosticClient ( std::string_view  diag_client_config_path)

Function to get the instance of Diagnostic Client Object. This instance to be further used for all the functionalities.

Parameters
[in]diag_client_config_pathpath to diag client config file
Returns
std::unique_ptr<diag::client::DiagClient> Unique pointer to diag client object -Library-Support, DiagClientLib-ComParam-Settings

Definition at line 180 of file diagnostic_client.cpp.

180  {
181  return (std::make_unique<DiagClient>(diag_client_config_path));
182 }