Leosac  0.8.0
Open Source Access Control
Leosac::update::IUpdate Class Referenceabstract

#include <IUpdate.hpp>

+ Inheritance diagram for Leosac::update::IUpdate:

Public Types

using TimePoint = std::chrono::system_clock::time_point
 

Public Member Functions

virtual ~IUpdate ()=default
 
virtual UpdateId id () const =0
 
virtual const TimePointgenerated_at () const =0
 
virtual Status status () const =0
 
virtual void status (Status st)=0
 
virtual const TimePointstatus_updated_at () const =0
 
virtual const std::string & source_module () const =0
 
virtual void source_module (const std::string &s)=0
 
virtual const std::string & description () const =0
 
virtual void description (const std::string &d)=0
 
virtual void set_checkpoint (Audit::AuditEntryPtr)=0
 Set the checkpoint for the update object. More...
 
virtual Audit::AuditEntryId get_checkpoint () const =0
 

Detailed Description

Definition at line 30 of file IUpdate.hpp.

Member Typedef Documentation

◆ TimePoint

using Leosac::update::IUpdate::TimePoint = std::chrono::system_clock::time_point

Definition at line 33 of file IUpdate.hpp.

Constructor & Destructor Documentation

◆ ~IUpdate()

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

Member Function Documentation

◆ description() [1/2]

virtual const std::string& Leosac::update::IUpdate::description ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ description() [2/2]

virtual void Leosac::update::IUpdate::description ( const std::string &  d)
pure virtual

Implemented in Leosac::update::Update.

◆ generated_at()

virtual const TimePoint& Leosac::update::IUpdate::generated_at ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ get_checkpoint()

virtual Audit::AuditEntryId Leosac::update::IUpdate::get_checkpoint ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ id()

virtual UpdateId Leosac::update::IUpdate::id ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ set_checkpoint()

virtual void Leosac::update::IUpdate::set_checkpoint ( Audit::AuditEntryPtr  )
pure virtual

Set the checkpoint for the update object.

The checkpoint represents the timepoint at which this update apply.

Implemented in Leosac::update::Update.

◆ source_module() [1/2]

virtual const std::string& Leosac::update::IUpdate::source_module ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ source_module() [2/2]

virtual void Leosac::update::IUpdate::source_module ( const std::string &  s)
pure virtual

Implemented in Leosac::update::Update.

◆ status() [1/2]

virtual Status Leosac::update::IUpdate::status ( ) const
pure virtual

Implemented in Leosac::update::Update.

◆ status() [2/2]

virtual void Leosac::update::IUpdate::status ( Status  st)
pure virtual

Implemented in Leosac::update::Update.

◆ status_updated_at()

virtual const TimePoint& Leosac::update::IUpdate::status_updated_at ( ) const
pure virtual

Implemented in Leosac::update::Update.


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