Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Protected Attributes | List of all members
PackageManagerInterface Class Referenceabstract
Inheritance diagram for PackageManagerInterface:
[legend]
Collaboration diagram for PackageManagerInterface:
[legend]

Public Member Functions

 PackageManagerInterface (PackageConfig pconfig, BootloaderConfig bconfig, std::shared_ptr< INvStorage > storage, std::shared_ptr< HttpInterface > http)
 
virtual std::string name () const =0
 
virtual Json::Value getInstalledPackages () const =0
 
virtual Uptane::Target getCurrent () const =0
 
virtual data::InstallationResult install (const Uptane::Target &target) const =0
 
virtual void completeInstall () const
 
virtual data::InstallationResult finalizeInstall (const Uptane::Target &target) const =0
 
virtual bool rebootDetected ()
 
virtual void rebootFlagClear ()
 
virtual void updateNotify ()
 
virtual bool fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, FetcherProgressCb progress_cb, const api::FlowControlToken *token)
 
virtual TargetStatus verifyTarget (const Uptane::Target &target) const
 
Json::Value getManifest (const Uptane::EcuSerial &ecu_serial) const
 

Protected Attributes

PackageConfig config
 
std::shared_ptr< INvStoragestorage_
 
std::shared_ptr< HttpInterfacehttp_
 
std::unique_ptr< Bootloaderbootloader_
 

Detailed Description

Definition at line 36 of file packagemanagerinterface.h.


The documentation for this class was generated from the following files: