LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScRefreshTimer Class Reference

#include <refreshtimer.hxx>

Inheritance diagram for ScRefreshTimer:
[legend]
Collaboration diagram for ScRefreshTimer:
[legend]

Public Member Functions

 ScRefreshTimer ()
 
 ScRefreshTimer (sal_uLong nSeconds)
 
 ScRefreshTimer (const ScRefreshTimer &r)
 
virtual ~ScRefreshTimer () override
 
ScRefreshTimeroperator= (const ScRefreshTimer &r)
 
bool operator== (const ScRefreshTimer &r) const
 
bool operator!= (const ScRefreshTimer &r) const
 
void SetRefreshControl (std::unique_ptr< ScRefreshTimerControl > const *pp)
 
void SetRefreshHandler (const Link< Timer *, void > &rLink)
 
sal_uLong GetRefreshDelay () const
 
void StopRefreshTimer ()
 
void SetRefreshDelay (sal_uLong nSeconds)
 
virtual SC_DLLPUBLIC void Invoke () override
 
- Public Member Functions inherited from AutoTimer
 AutoTimer (const char *pDebugName=nullptr)
 
- Public Member Functions inherited from Timer
 Timer (const char *pDebugName=nullptr)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start () override
 
- Public Member Functions inherited from Task
 Task (const 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 char *pDebugName)
 
const char * GetDebugName () const
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 

Private Member Functions

void Launch ()
 

Private Attributes

std::unique_ptr< ScRefreshTimerControl > const * ppControl
 

Additional Inherited Members

- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const 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

Definition at line 43 of file refreshtimer.hxx.

Constructor & Destructor Documentation

ScRefreshTimer::ScRefreshTimer ( )

Definition at line 49 of file refreshtimer.cxx.

References Timer::SetTimeout().

ScRefreshTimer::ScRefreshTimer ( sal_uLong  nSeconds)

Definition at line 54 of file refreshtimer.cxx.

References Launch(), and Timer::SetTimeout().

ScRefreshTimer::ScRefreshTimer ( const ScRefreshTimer r)

Definition at line 60 of file refreshtimer.cxx.

ScRefreshTimer::~ScRefreshTimer ( )
overridevirtual

Definition at line 64 of file refreshtimer.cxx.

References Task::IsActive(), and Task::Stop().

Member Function Documentation

sal_uLong ScRefreshTimer::GetRefreshDelay ( ) const
void ScRefreshTimer::Invoke ( )
overridevirtual

Reimplemented from Timer.

Definition at line 120 of file refreshtimer.cxx.

References Timer::Invoke(), Task::IsActive(), Launch(), and ppControl.

void ScRefreshTimer::Launch ( )
private

Definition at line 134 of file refreshtimer.cxx.

References Timer::GetTimeout(), and Timer::Start().

Referenced by Invoke(), ScRefreshTimer(), and SetRefreshDelay().

bool ScRefreshTimer::operator!= ( const ScRefreshTimer r) const

Definition at line 85 of file refreshtimer.cxx.

References operator==().

ScRefreshTimer & ScRefreshTimer::operator= ( const ScRefreshTimer r)

Definition at line 70 of file refreshtimer.cxx.

References Timer::operator=(), and SetRefreshControl().

Referenced by ScDBData::operator=().

bool ScRefreshTimer::operator== ( const ScRefreshTimer r) const

Definition at line 80 of file refreshtimer.cxx.

References Timer::GetTimeout().

Referenced by operator!=().

void ScRefreshTimer::SetRefreshControl ( std::unique_ptr< ScRefreshTimerControl > const *  pp)
void ScRefreshTimer::SetRefreshDelay ( sal_uLong  nSeconds)
void ScRefreshTimer::SetRefreshHandler ( const Link< Timer *, void > &  rLink)
void ScRefreshTimer::StopRefreshTimer ( )

Member Data Documentation

std::unique_ptr<ScRefreshTimerControl> const* ScRefreshTimer::ppControl
private

Definition at line 45 of file refreshtimer.hxx.

Referenced by Invoke(), and SetRefreshControl().


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