LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::SwDocIdle Class Referencefinal

An Idle, which is just ready to be scheduled for idle documents. More...

#include <SwDocIdle.hxx>

Inheritance diagram for sw::SwDocIdle:
[legend]
Collaboration diagram for sw::SwDocIdle:
[legend]

Public Member Functions

 SwDocIdle (SwDoc &doc)
 
virtual ~SwDocIdle () override
 
- Public Member Functions inherited from Idle
 Idle (const sal_Char *pDebugName=nullptr)
 
virtual void Start () override
 
- Public Member Functions inherited from Timer
 Timer (const sal_Char *pDebugName=nullptr)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
- Public Member Functions inherited from Task
 Task (const sal_Char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
void SetDebugName (const sal_Char *pDebugName)
 
const char * GetDebugName () const
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 

Private Member Functions

virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 

Private Attributes

SwDocm_rDoc
 

Additional Inherited Members

- Protected Member Functions inherited from Idle
 Idle (bool bAuto, const sal_Char *pDebugName)
 
- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 
 Timer (bool bAuto, const sal_Char *pDebugName)
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 

Detailed Description

An Idle, which is just ready to be scheduled for idle documents.

Currently it's missing the notification, when busy documents become idle again, so it relies on any task being triggered to recheck, which is quite probably not a problem, as busy documents have a high chance to have generated idle tasks.

Definition at line 36 of file SwDocIdle.hxx.

Constructor & Destructor Documentation

sw::SwDocIdle::SwDocIdle ( SwDoc doc)

Definition at line 51 of file SwDocIdle.cxx.

References m_rDoc.

sw::SwDocIdle::~SwDocIdle ( )
overridevirtual

Definition at line 56 of file SwDocIdle.cxx.

Member Function Documentation

sal_uInt64 sw::SwDocIdle::UpdateMinPeriod ( sal_uInt64  nTimeNow) const
overrideprivatevirtual

Member Data Documentation

SwDoc& sw::SwDocIdle::m_rDoc
private

Definition at line 39 of file SwDocIdle.hxx.

Referenced by UpdateMinPeriod().


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