Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::config::UserProfileManager Class Referencefinal

#include <UserProfileManager.hpp>

Collaboration diagram for iv::config::UserProfileManager:
[legend]

Public Member Functions

 UserProfileManager ()
 
 UserProfileManager (const std::weak_ptr< iv::diamar::UserProfile > &defaultUser, const std::weak_ptr< iv::diamar::UserProfile > &defaultWithAccess)
 
 UserProfileManager (const UserProfileManager &other)=delete
 
 UserProfileManager (UserProfileManager &&other)=delete
 
 ~UserProfileManager ()=default
 
UserProfileManageroperator= (const UserProfileManager &other)=delete
 
UserProfileManageroperator= (UserProfileManager &&other)=delete
 
void configure (const std::weak_ptr< iv::diamar::UserProfile > &defaultUser, std::weak_ptr< iv::diamar::UserProfile > defaultUserWithAccess)
 
const iv::core::MonotonicTimertimerAccess () const
 
void processTimer ()
 
void restartTimer ()
 
iv::diamar::eUserProfileType getTypeCurrentUser () const
 
void setDefaultProfile (const std::weak_ptr< iv::diamar::UserProfile > &userProfile)
 
void setProfile (const std::weak_ptr< iv::diamar::UserProfile > &userProfile)
 
void setChangedToDefault (bool value)
 
bool hasPermissionToChangeNetworks () const
 
bool hasPermissionToChangeSecuritySettings () const
 
bool hasPermissionToCreateBackup () const
 
bool hasPermissionToRecoverBackup () const
 
bool hasPermissionToACK () const
 
bool hasPermissionToChangeParameters () const
 
bool hasPermissionToControlAccess () const
 
bool isChangedToDefault () const
 
bool mustBeNotified () const
 
bool mustBeNotifiedByRepeatersZone () const
 
std::weak_ptr< iv::diamar::UserProfilegetUserProfile () const
 
std::weak_ptr< iv::diamar::UserProfilegetUserProfileActive () const
 
std::weak_ptr< iv::diamar::UserProfilegetUserProfileDefault () const
 
std::weak_ptr< iv::diamar::UserProfilegetUserProfileDefaultWithAccess () const
 

Static Public Member Functions

static std::string generateRandomPassword ()
 

Private Attributes

std::weak_ptr< iv::diamar::UserProfilem_active
 
std::weak_ptr< iv::diamar::UserProfilem_default
 
std::weak_ptr< iv::diamar::UserProfilem_normalDefault
 
std::weak_ptr< iv::diamar::UserProfilem_defaultWithAccess
 
bool m_isChangedToDefault = false
 
bool m_inPerpetualMode = false
 
iv::core::MonotonicTimer m_timerAccess {}
 

Constructor & Destructor Documentation

◆ UserProfileManager() [1/4]

iv::config::UserProfileManager::UserProfileManager ( )

◆ UserProfileManager() [2/4]

iv::config::UserProfileManager::UserProfileManager ( const std::weak_ptr< iv::diamar::UserProfile > & defaultUser,
const std::weak_ptr< iv::diamar::UserProfile > & defaultWithAccess )
explicit

◆ UserProfileManager() [3/4]

iv::config::UserProfileManager::UserProfileManager ( const UserProfileManager & other)
delete

◆ UserProfileManager() [4/4]

iv::config::UserProfileManager::UserProfileManager ( UserProfileManager && other)
delete

◆ ~UserProfileManager()

iv::config::UserProfileManager::~UserProfileManager ( )
default

Member Function Documentation

◆ configure()

void iv::config::UserProfileManager::configure ( const std::weak_ptr< iv::diamar::UserProfile > & defaultUser,
std::weak_ptr< iv::diamar::UserProfile > defaultUserWithAccess )

◆ generateRandomPassword()

std::string iv::config::UserProfileManager::generateRandomPassword ( )
static

◆ getTypeCurrentUser()

iv::diamar::eUserProfileType iv::config::UserProfileManager::getTypeCurrentUser ( ) const
nodiscard

◆ getUserProfile()

std::weak_ptr< iv::diamar::UserProfile > iv::config::UserProfileManager::getUserProfile ( ) const
nodiscard

◆ getUserProfileActive()

std::weak_ptr< iv::diamar::UserProfile > iv::config::UserProfileManager::getUserProfileActive ( ) const
nodiscard

◆ getUserProfileDefault()

std::weak_ptr< iv::diamar::UserProfile > iv::config::UserProfileManager::getUserProfileDefault ( ) const
nodiscard

◆ getUserProfileDefaultWithAccess()

std::weak_ptr< iv::diamar::UserProfile > iv::config::UserProfileManager::getUserProfileDefaultWithAccess ( ) const
nodiscard

◆ hasPermissionToACK()

bool iv::config::UserProfileManager::hasPermissionToACK ( ) const
nodiscard

◆ hasPermissionToChangeNetworks()

bool iv::config::UserProfileManager::hasPermissionToChangeNetworks ( ) const
nodiscard

◆ hasPermissionToChangeParameters()

bool iv::config::UserProfileManager::hasPermissionToChangeParameters ( ) const
nodiscard

◆ hasPermissionToChangeSecuritySettings()

bool iv::config::UserProfileManager::hasPermissionToChangeSecuritySettings ( ) const
nodiscard

◆ hasPermissionToControlAccess()

bool iv::config::UserProfileManager::hasPermissionToControlAccess ( ) const
nodiscard

◆ hasPermissionToCreateBackup()

bool iv::config::UserProfileManager::hasPermissionToCreateBackup ( ) const
nodiscard

◆ hasPermissionToRecoverBackup()

bool iv::config::UserProfileManager::hasPermissionToRecoverBackup ( ) const
nodiscard

◆ isChangedToDefault()

bool iv::config::UserProfileManager::isChangedToDefault ( ) const
nodiscard

◆ mustBeNotified()

bool iv::config::UserProfileManager::mustBeNotified ( ) const
nodiscard

◆ mustBeNotifiedByRepeatersZone()

bool iv::config::UserProfileManager::mustBeNotifiedByRepeatersZone ( ) const
nodiscard

◆ operator=() [1/2]

UserProfileManager & iv::config::UserProfileManager::operator= ( const UserProfileManager & other)
delete

◆ operator=() [2/2]

UserProfileManager & iv::config::UserProfileManager::operator= ( UserProfileManager && other)
delete

◆ processTimer()

void iv::config::UserProfileManager::processTimer ( )

◆ restartTimer()

void iv::config::UserProfileManager::restartTimer ( )

◆ setChangedToDefault()

void iv::config::UserProfileManager::setChangedToDefault ( bool value)

◆ setDefaultProfile()

void iv::config::UserProfileManager::setDefaultProfile ( const std::weak_ptr< iv::diamar::UserProfile > & userProfile)

◆ setProfile()

void iv::config::UserProfileManager::setProfile ( const std::weak_ptr< iv::diamar::UserProfile > & userProfile)

◆ timerAccess()

const iv::core::MonotonicTimer & iv::config::UserProfileManager::timerAccess ( ) const
nodiscard

Member Data Documentation

◆ m_active

std::weak_ptr<iv::diamar::UserProfile> iv::config::UserProfileManager::m_active
private

◆ m_default

std::weak_ptr<iv::diamar::UserProfile> iv::config::UserProfileManager::m_default
private

◆ m_defaultWithAccess

std::weak_ptr<iv::diamar::UserProfile> iv::config::UserProfileManager::m_defaultWithAccess
private

◆ m_inPerpetualMode

bool iv::config::UserProfileManager::m_inPerpetualMode = false
private

◆ m_isChangedToDefault

bool iv::config::UserProfileManager::m_isChangedToDefault = false
private

◆ m_normalDefault

std::weak_ptr<iv::diamar::UserProfile> iv::config::UserProfileManager::m_normalDefault
private

◆ m_timerAccess

iv::core::MonotonicTimer iv::config::UserProfileManager::m_timerAccess {}
private

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