LibreOffice Module vcl (master)
1
|
#include <textdat2.hxx>
Public Member Functions | |
IdleFormatter () | |
virtual | ~IdleFormatter () override |
void | DoIdleFormat (TextView *pV, sal_uInt16 nMaxRestarts) |
void | ForceTimeout () |
TextView * | GetView () |
![]() | |
Idle (const char *pDebugName) | |
virtual void | Start (bool bStartTimer=true) override |
Schedules the task for execution. More... | |
![]() | |
Timer (const char *pDebugName) | |
Timer (const Timer &rTimer) | |
virtual | ~Timer () override |
Timer & | operator= (const Timer &rTimer) |
virtual void | Invoke () override |
Calls the maInvokeHandler with the parameter this. More... | |
void | Invoke (Timer *arg) |
Calls the maInvokeHandler with the parameter. More... | |
void | SetInvokeHandler (const Link< Timer *, void > &rLink) |
void | ClearInvokeHandler () |
void | SetTimeout (sal_uInt64 nTimeoutMs) |
sal_uInt64 | GetTimeout () const |
![]() | |
Task (const char *pDebugName) | |
Task (const Task &rTask) | |
virtual | ~Task () COVERITY_NOEXCEPT_FALSE |
Task & | operator= (const Task &rTask) |
void | SetPriority (TaskPriority ePriority) |
TaskPriority | GetPriority () const |
const char * | GetDebugName () const |
void | Stop () |
bool | IsActive () const |
void | SetStatic () |
This function must be called for static tasks, so the Task destructor ignores the scheduler mutex, as it may not be available anymore. More... | |
bool | IsStatic () const |
Private Attributes | |
TextView * | mpView |
sal_uInt16 | mnRestarts |
Additional Inherited Members | |
![]() | |
virtual sal_uInt64 | UpdateMinPeriod (sal_uInt64 nTimeNow) const override |
How long (in MS) until the Task is ready to be dispatched? More... | |
Idle (bool bAuto, const char *pDebugName) | |
![]() | |
virtual void | SetDeletionFlags () override |
Timer (bool bAuto, const char *pDebugName) | |
![]() | |
const ImplSchedulerData * | GetSchedulerData () const |
![]() | |
static void | StartTimer (sal_uInt64 nMS) |
Definition at line 249 of file textdat2.hxx.
IdleFormatter::IdleFormatter | ( | ) |
Definition at line 270 of file textdata.cxx.
References HIGH_IDLE, mpView, and Task::SetPriority().
|
overridevirtual |
Definition at line 278 of file textdata.cxx.
References mpView.
Definition at line 283 of file textdata.cxx.
References Timer::Invoke(), Task::IsActive(), mnRestarts, mpView, and Idle::Start().
void IdleFormatter::ForceTimeout | ( | ) |
Definition at line 301 of file textdata.cxx.
References Timer::Invoke(), Task::IsActive(), mnRestarts, and Task::Stop().
|
inline |
Definition at line 261 of file textdat2.hxx.
References mpView.
|
private |
Definition at line 253 of file textdat2.hxx.
Referenced by DoIdleFormat(), and ForceTimeout().
|
private |
Definition at line 252 of file textdat2.hxx.
Referenced by DoIdleFormat(), GetView(), and ~IdleFormatter().