Leosac
0.8.0
Open Source Access Control
|
#include <AccessPointUpdate.hpp>
Public Member Functions | |
AccessPointUpdate () | |
Default constructor for the AccessPointUpdate object. More... | |
virtual | ~AccessPointUpdate ()=default |
Auth::AccessPointId | access_point_id () const |
Auth::AccessPointLWPtr | access_point () const |
void | access_point (Auth::AccessPointPtr ap) |
Set the access point owning the updates. More... | |
Public Member Functions inherited from Leosac::update::Update | |
Update () | |
virtual UpdateId | id () const override |
virtual const TimePoint & | generated_at () const override |
virtual Status | status () const override |
virtual void | status (Status st) override |
virtual const TimePoint & | status_updated_at () const override |
virtual void | set_checkpoint (Audit::AuditEntryPtr) override |
Set the checkpoint for the update object. More... | |
virtual Audit::AuditEntryId | get_checkpoint () const override |
virtual const std::string & | source_module () const override |
virtual void | source_module (const std::string &s) override |
virtual const std::string & | description () const override |
virtual void | description (const std::string &d) override |
Public Member Functions inherited from Leosac::update::IUpdate | |
virtual | ~IUpdate ()=default |
Public Attributes | |
Auth::AccessPointLWPtr | access_point_ |
The access point targeted by this update. More... | |
Friends | |
class | odb::access |
Additional Inherited Members | |
Public Types inherited from Leosac::update::IUpdate | |
using | TimePoint = std::chrono::system_clock::time_point |
Definition at line 29 of file AccessPointUpdate.hpp.
Leosac::Auth::AccessPointUpdate::AccessPointUpdate | ( | ) |
Default constructor for the AccessPointUpdate object.
The update's status_
defaults to ST_PENDING.
Definition at line 28 of file AccessPointUpdate.cpp.
|
virtualdefault |
AccessPointLWPtr Leosac::Auth::AccessPointUpdate::access_point | ( | ) | const |
Definition at line 40 of file AccessPointUpdate.cpp.
void Leosac::Auth::AccessPointUpdate::access_point | ( | Auth::AccessPointPtr | ap | ) |
Set the access point owning the updates.
Definition at line 45 of file AccessPointUpdate.cpp.
Auth::AccessPointId Leosac::Auth::AccessPointUpdate::access_point_id | ( | ) | const |
Definition at line 33 of file AccessPointUpdate.cpp.
|
friend |
Definition at line 59 of file AccessPointUpdate.hpp.
Auth::AccessPointLWPtr Leosac::Auth::AccessPointUpdate::access_point_ |
The access point targeted by this update.
Definition at line 57 of file AccessPointUpdate.hpp.