LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | List of all members
ImplSchedulerData Struct Referencefinal

#include <schedulerimpl.hxx>

Collaboration diagram for ImplSchedulerData:
[legend]

Public Member Functions

const char * GetDebugName () const
 

Public Attributes

ImplSchedulerDatampNext
 Pointer to the next element in list. More...
 
TaskmpTask
 Pointer to VCL Task instance. More...
 
sal_uInt64 mnUpdateTime
 Last Update Time. More...
 
TaskPriority mePriority
 Task priority. More...
 
bool mbInScheduler
 Is the Task currently processed / on the stack? More...
 

Detailed Description

Definition at line 29 of file schedulerimpl.hxx.

Member Function Documentation

◆ GetDebugName()

const char * ImplSchedulerData::GetDebugName ( ) const

Member Data Documentation

◆ mbInScheduler

bool ImplSchedulerData::mbInScheduler

Is the Task currently processed / on the stack?

Since the introduction of the scheduler stack, this became merely a debugging and assertion hint. No decisions are anymore made based on this, because invoked Tasks are removed from the scheduler lists and placed on the stack, so no code should actually ever find one, where mbInScheduler is true (I don't see a reason to walk the stack for normal Scheduler usage, that is).

This was originally used to prevent invoking Tasks recursively. Task currently processed?

Definition at line 47 of file schedulerimpl.hxx.

Referenced by Scheduler::CallbackTaskScheduling(), Scheduler::ProcessEventsToIdle(), and Task::Start().

◆ mePriority

TaskPriority ImplSchedulerData::mePriority

◆ mnUpdateTime

sal_uInt64 ImplSchedulerData::mnUpdateTime

Last Update Time.

Definition at line 33 of file schedulerimpl.hxx.

Referenced by Scheduler::CallbackTaskScheduling(), Task::Start(), and Timer::UpdateMinPeriod().

◆ mpNext

ImplSchedulerData* ImplSchedulerData::mpNext

◆ mpTask

Task* ImplSchedulerData::mpTask

The documentation for this struct was generated from the following file: