Diag-Client-Lib
create_diagnostic_client.h
Go to the documentation of this file.
1 /* Diagnostic Client library
2  * Copyright (C) 2024 Avijit Dey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 #ifndef DIAG_CLIENT_LIB_APPL_INCLUDE_CREATE_DIAGNOSTIC_CLIENT_H_
9 #define DIAG_CLIENT_LIB_APPL_INCLUDE_CREATE_DIAGNOSTIC_CLIENT_H_
10 
11 #include <memory>
12 #include <string_view>
13 
14 namespace diag {
15 namespace client {
16 
17 // forward declaration
18 class DiagClient;
19 
29 std::unique_ptr<diag::client::DiagClient> CreateDiagnosticClient(std::string_view diag_client_config_path);
30 
31 } // namespace client
32 } // namespace diag
33 
34 #endif // DIAG_CLIENT_LIB_APPL_INCLUDE_CREATE_DIAGNOSTIC_CLIENT_H_
Class to manage Diagnostic Client.
std::unique_ptr< diag::client::DiagClient > 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 th...