LibreOffice Module desktop (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
desktop::Lockfile Class Reference

#include <lockfile.hxx>

Public Types

typedef bool(* fpExecWarning) (Lockfile const *that)
 

Public Member Functions

 Lockfile (bool bIPCserver=true)
 
bool check (fpExecWarning execWarning)
 
 ~Lockfile ()
 

Private Member Functions

void syncToFile () const
 
bool isStale () const
 

Private Attributes

bool m_bIPCserver
 
OUString m_aLockname
 
bool m_bRemove
 
bool m_bIsLocked
 
OUString m_aId
 
OUString m_aDate
 

Friends

bool Lockfile_execWarning (Lockfile const *that)
 

Detailed Description

Definition at line 53 of file lockfile.hxx.

Member Typedef Documentation

◆ fpExecWarning

typedef bool(* desktop::Lockfile::fpExecWarning) (Lockfile const *that)

Definition at line 61 of file lockfile.hxx.

Constructor & Destructor Documentation

◆ Lockfile()

desktop::Lockfile::Lockfile ( bool  bIPCserver = true)

◆ ~Lockfile()

desktop::Lockfile::~Lockfile ( )

Definition at line 204 of file lockfile.cxx.

References m_aLockname, and m_bRemove.

Member Function Documentation

◆ check()

bool desktop::Lockfile::check ( fpExecWarning  execWarning)

Definition at line 123 of file lockfile.cxx.

References File, isStale(), m_aLockname, m_bIsLocked, m_bRemove, and syncToFile().

◆ isStale()

bool desktop::Lockfile::isStale ( ) const
private

◆ syncToFile()

void desktop::Lockfile::syncToFile ( ) const
private

Friends And Related Function Documentation

◆ Lockfile_execWarning

bool Lockfile_execWarning ( Lockfile const *  that)
friend

Definition at line 29 of file lockfile2.cxx.

Member Data Documentation

◆ m_aDate

OUString desktop::Lockfile::m_aDate
private

Definition at line 79 of file lockfile.hxx.

Referenced by Lockfile(), and syncToFile().

◆ m_aId

OUString desktop::Lockfile::m_aId
private

Definition at line 78 of file lockfile.hxx.

Referenced by Lockfile(), and syncToFile().

◆ m_aLockname

OUString desktop::Lockfile::m_aLockname
private

Definition at line 73 of file lockfile.hxx.

Referenced by check(), isStale(), Lockfile(), syncToFile(), and ~Lockfile().

◆ m_bIPCserver

bool desktop::Lockfile::m_bIPCserver
private

Definition at line 71 of file lockfile.hxx.

Referenced by syncToFile().

◆ m_bIsLocked

bool desktop::Lockfile::m_bIsLocked
private

Definition at line 76 of file lockfile.hxx.

Referenced by check(), and Lockfile().

◆ m_bRemove

bool desktop::Lockfile::m_bRemove
private

Definition at line 75 of file lockfile.hxx.

Referenced by check(), Lockfile(), and ~Lockfile().


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