Leosac  0.8.0
Open Source Access Control
Leosac::update::UpdateDescriptor Struct Referenceabstract

Describe an update that has yet to be done. More...

#include <UpdateService.hpp>

+ Collaboration diagram for Leosac::update::UpdateDescriptor:

Public Member Functions

 UpdateDescriptor ()
 
virtual ~UpdateDescriptor ()=default
 

Public Attributes

std::string uuid
 
Severity severity
 
std::string source_module
 
std::string update_desc
 

Private Member Functions

virtual void implement_me_ ()=0
 Just to make UpdateDescriptor abstract so module have to provide their own subclass. More...
 

Detailed Description

Describe an update that has yet to be done.

This object is the format used to let end-user knows that update are available. It stores which module is the source of the potential update, aswel as a quick description of the update itself.

Note
Update descriptor are kept alive in memory by the UpdateService.

Definition at line 53 of file UpdateService.hpp.

Constructor & Destructor Documentation

◆ UpdateDescriptor()

Leosac::update::UpdateDescriptor::UpdateDescriptor ( )

Definition at line 113 of file UpdateService.cpp.

◆ ~UpdateDescriptor()

virtual Leosac::update::UpdateDescriptor::~UpdateDescriptor ( )
virtualdefault

Member Function Documentation

◆ implement_me_()

virtual void Leosac::update::UpdateDescriptor::implement_me_ ( )
privatepure virtual

Just to make UpdateDescriptor abstract so module have to provide their own subclass.

(needed for dynamic cast in create_update)

Member Data Documentation

◆ severity

Severity Leosac::update::UpdateDescriptor::severity

Definition at line 59 of file UpdateService.hpp.

◆ source_module

std::string Leosac::update::UpdateDescriptor::source_module

Definition at line 60 of file UpdateService.hpp.

◆ update_desc

std::string Leosac::update::UpdateDescriptor::update_desc

Definition at line 61 of file UpdateService.hpp.

◆ uuid

std::string Leosac::update::UpdateDescriptor::uuid

Definition at line 58 of file UpdateService.hpp.


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