lintel 0.2.0
Loading...
Searching...
No Matches
ClientProvider.h
Go to the documentation of this file.
1#ifndef LINTEL_CLIENTPROVIDER_H
2#define LINTEL_CLIENTPROVIDER_H
3
6
7namespace lintel {
10{
11private:
12 std::shared_ptr<Client> m_client;
13
15 static std::shared_ptr<Client> build(const std::shared_ptr<Configuration> &configuration);
16
17public:
18 explicit ClientProvider(const std::shared_ptr<Configuration> &configuration);
19
21 const std::shared_ptr<Client> &provide();
22};
23
24}// namespace lintel
25#endif// LINTEL_CLIENTPROVIDER_H
Definition ClientProvider.h:10
const std::shared_ptr< Client > & provide()
ClientProvider(const std::shared_ptr< Configuration > &configuration)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9