113 if ( bActive && !nSeconds )
116 if ( !bActive && nSeconds )
125 std::scoped_lock aGuard( (*ppControl)->GetMutex() );
void SetAllowRefresh(bool b)
ScRefreshTimerProtector(std::unique_ptr< ScRefreshTimerControl > const &rp)
~ScRefreshTimerProtector()
std::unique_ptr< ScRefreshTimerControl > const & m_rpControl
sal_Int32 GetRefreshDelaySeconds() const
bool operator!=(const ScRefreshTimer &r) const
void SetRefreshHandler(const Link< Timer *, void > &rLink)
void SetRefreshControl(std::unique_ptr< ScRefreshTimerControl > const *pp)
virtual SC_DLLPUBLIC void Invoke() override
void SetRefreshDelay(sal_Int32 nSeconds)
virtual ~ScRefreshTimer() override
ScRefreshTimer & operator=(const ScRefreshTimer &r)
std::unique_ptr< ScRefreshTimerControl > const * ppControl
bool operator==(const ScRefreshTimer &r) const
void SetTimeout(sal_uInt64 nTimeoutMs)
void SetInvokeHandler(const Link< Timer *, void > &rLink)
virtual void Start(bool bStartTimer=true) override
virtual void Invoke() override
Timer & operator=(const Timer &rTimer)
sal_uInt64 GetTimeout() const