Leosac
0.8.0
Open Source Access Control
|
Describe an update that has yet to be done. More...
#include <UpdateService.hpp>
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... | |
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.
Definition at line 53 of file UpdateService.hpp.
Leosac::update::UpdateDescriptor::UpdateDescriptor | ( | ) |
Definition at line 113 of file UpdateService.cpp.
|
virtualdefault |
|
privatepure virtual |
Just to make UpdateDescriptor abstract so module have to provide their own subclass.
(needed for dynamic cast in create_update)
Severity Leosac::update::UpdateDescriptor::severity |
Definition at line 59 of file UpdateService.hpp.
std::string Leosac::update::UpdateDescriptor::source_module |
Definition at line 60 of file UpdateService.hpp.
std::string Leosac::update::UpdateDescriptor::update_desc |
Definition at line 61 of file UpdateService.hpp.
std::string Leosac::update::UpdateDescriptor::uuid |
Definition at line 58 of file UpdateService.hpp.