| 
    Diag-Client-Lib
    
   | 
 
Class to create Diagnostic Manager Client functionality. More...
#include <dcm_client.h>


Public Member Functions | |
| DCMClient (config_parser::DcmClientConfig dcm_client_config) | |
| Constructs an instance of DCMClient.  More... | |
| DCMClient (const DCMClient &other) noexcept=delete | |
| Deleted copy assignment and copy constructor.  More... | |
| DCMClient & | operator= (const DCMClient &other) noexcept=delete | 
| DCMClient (DCMClient &&other) noexcept=delete | |
| Deleted move assignment and move constructor.  More... | |
| DCMClient & | operator= (DCMClient &&other) noexcept=delete | 
| ~DCMClient () noexcept override | |
| Destructs an instance of DCMClient.  More... | |
| void | Initialize () noexcept override | 
| Function to initialize the DCMClient.  More... | |
| void | Run () noexcept override | 
| Function to run DCMClient.  More... | |
| void | Shutdown () noexcept override | 
| Function to shutdown the DCMClient.  More... | |
| conversation::DiagClientConversation | GetDiagnosticClientConversation (std::string_view conversation_name) noexcept override | 
| Function to get required diag client conversation object based on conversation name.  More... | |
| core_type::Result< diag::client::vehicle_info::VehicleInfoMessageResponseUniquePtr, DiagClient::VehicleInfoResponseError > | SendVehicleIdentificationRequest (diag::client::vehicle_info::VehicleInfoListRequestType vehicle_info_request) noexcept override | 
| Function to send vehicle identification request and get the Diagnostic Server list.  More... | |
  Public Member Functions inherited from diag::client::common::DiagnosticManager | |
| DiagnosticManager () noexcept | |
| Constructs an instance of DiagnosticManager.  More... | |
| DiagnosticManager (const DiagnosticManager &other) noexcept=delete | |
| Deleted copy assignment and copy constructor.  More... | |
| DiagnosticManager & | operator= (const DiagnosticManager &other) noexcept=delete | 
| DiagnosticManager (DiagnosticManager &&other) noexcept=delete | |
| Deleted move assignment and move constructor.  More... | |
| DiagnosticManager & | operator= (DiagnosticManager &&other) noexcept=delete | 
| virtual | ~DiagnosticManager () noexcept | 
| Destructs an instance of DiagnosticManager.  More... | |
| virtual void | Main () noexcept | 
| Function to manage the whole lifecycle of DiagnosticManager.  More... | |
| virtual Result< void > | SignalShutdown () noexcept | 
| Function to initiate shutdown of DiagnosticManager.  More... | |
Private Attributes | |
| std::unique_ptr< uds_transport::UdsTransportProtocolManager > | uds_transport_protocol_mgr_ | 
| Stores the uds transport protocol manager.  More... | |
| conversation_manager::ConversationManager | conversation_mgr_ | 
| Stores the conversation manager instance.  More... | |
| conversation::Conversation & | vehicle_discovery_conversation_ | 
| Store the conversation for vehicle discovery.  More... | |
Class to create Diagnostic Manager Client functionality.
Definition at line 26 of file dcm_client.h.
      
  | 
  explicit | 
Constructs an instance of DCMClient.
| [in] | dcm_client_config | The configuration of dcm client | 
Definition at line 32 of file dcm_client.cpp.
References diag::client::dcm::anonymous_namespace{dcm_client.cpp}::conversation_manager_ref, and conversation_mgr_.
      
  | 
  deletenoexcept | 
Deleted copy assignment and copy constructor.
      
  | 
  deletenoexcept | 
Deleted move assignment and move constructor.
      
  | 
  overridedefaultnoexcept | 
Destructs an instance of DCMClient.
      
  | 
  overridevirtualnoexcept | 
Function to get required diag client conversation object based on conversation name.
| [in] | conversation_name | Name of conversation configured as json parameter "ConversationName" | 
Implements diag::client::common::DiagnosticManager.
Definition at line 78 of file dcm_client.cpp.
      
  | 
  overridevirtualnoexcept | 
Function to initialize the DCMClient.
Implements diag::client::common::DiagnosticManager.
Definition at line 44 of file dcm_client.cpp.
References FILE_NAME, and diag::client::logger::DiagClientLogger::GetDiagClientLogger().

      
  | 
  overridevirtualnoexcept | 
Function to run DCMClient.
Implements diag::client::common::DiagnosticManager.
Definition at line 57 of file dcm_client.cpp.
References FILE_NAME, diag::client::logger::DiagClientLogger::GetDiagClientLogger(), and uds_transport_protocol_mgr_.

      
  | 
  overridevirtualnoexcept | 
Function to send vehicle identification request and get the Diagnostic Server list.
| [in] | vehicle_info_request | Vehicle information sent along with request | 
Implements diag::client::common::DiagnosticManager.
Definition at line 85 of file dcm_client.cpp.
      
  | 
  overridevirtualnoexcept | 
Function to shutdown the DCMClient.
Implements diag::client::common::DiagnosticManager.
Definition at line 65 of file dcm_client.cpp.
References conversation_mgr_, FILE_NAME, diag::client::logger::DiagClientLogger::GetDiagClientLogger(), diag::client::conversation_manager::ConversationManager::Shutdown(), diag::client::conversation::Conversation::Shutdown(), uds_transport_protocol_mgr_, and vehicle_discovery_conversation_.

      
  | 
  private | 
Stores the conversation manager instance.
Definition at line 96 of file dcm_client.h.
Referenced by DCMClient(), and Shutdown().
      
  | 
  private | 
Stores the uds transport protocol manager.
Definition at line 91 of file dcm_client.h.
Referenced by Run(), and Shutdown().
      
  | 
  private | 
Store the conversation for vehicle discovery.
Definition at line 101 of file dcm_client.h.
Referenced by Shutdown().