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

Namespaces

 anonymous_namespace{dcm_client.cpp}
 

Classes

class  DCMClient
 Class to create Diagnostic Manager Client functionality. More...
 

Functions

auto GetConversationManager () noexcept -> conversation_manager::ConversationManager &
 Function to get the reference to conversation manager. More...
 

Variables

constexpr std::string_view VehicleDiscoveryConversation {"VehicleDiscovery"}
 

Function Documentation

◆ GetConversationManager()

auto diag::client::dcm::GetConversationManager ( ) -> conversation_manager::ConversationManager &
noexcept

Function to get the reference to conversation manager.

Returns
Reference to conversation manager

Definition at line 83 of file dcm_client.cpp.

83  {
85  logger::DiagClientLogger::GetDiagClientLogger().GetLogger().LogFatal(
86  __FILE__, __LINE__, "", [](std::stringstream &msg) { msg << "DiagClient is not Initialized"; });
87  }
88  return conversation_manager_ref.value();
89 }
std::optional< std::reference_wrapper< conversation_manager::ConversationManager > > conversation_manager_ref
Store the conversation manager reference optionally.
Definition: dcm_client.cpp:23

References diag::client::dcm::anonymous_namespace{dcm_client.cpp}::conversation_manager_ref, and diag::client::logger::DiagClientLogger::GetDiagClientLogger().

Referenced by diag::client::conversation::DiagClientConversation::DiagClientConversationImpl::DiagClientConversationImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ VehicleDiscoveryConversation

constexpr std::string_view diag::client::dcm::VehicleDiscoveryConversation {"VehicleDiscovery"}
constexpr

Definition at line 28 of file dcm_client.cpp.