Aktualizr
C++ SOTA Client
secondary_provider_builder.h
1 #ifndef UPTANE_SECONDARY_PROVIDER_BUILDER_H
2 #define UPTANE_SECONDARY_PROVIDER_BUILDER_H
3 
4 #include <memory>
5 
6 #include "libaktualizr/secondary_provider.h"
7 
9  public:
10  static std::shared_ptr<SecondaryProvider> Build(
11  Config& config, const std::shared_ptr<const INvStorage>& storage,
12  const std::shared_ptr<const PackageManagerInterface>& package_manager) {
13  return std::shared_ptr<SecondaryProvider>(new SecondaryProvider(config, storage, package_manager));
14  }
17  SecondaryProviderBuilder& operator=(const SecondaryProviderBuilder&) = delete;
18 
19  private:
21 };
22 #endif // UPTANE_SECONDARY_PROVIDER_BUILDER_H
SecondaryProvider
Definition: secondary_provider.h:13
Config
Configuration object for an aktualizr instance running on a Primary ECU.
Definition: config.h:208
SecondaryProviderBuilder
Definition: secondary_provider_builder.h:8